Closed Bug 1840664 Opened 2 years ago Closed 2 years ago

[wpt-sync] Sync PR 40773 - Fix color mix serialization to reflect new language in spec.

Categories

(Core :: CSS Parsing and Computation, task, P4)

task

Tracking

()

RESOLVED FIXED
117 Branch
Tracking Status
firefox117 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

Sync web-platform-tests PR 40773 into mozilla-central (this bug is closed when the sync is complete).

PR: https://github.com/web-platform-tests/wpt/pull/40773
Details from upstream follow.

Aaron Krajeski <aaronhk@chromium.org> wrote:

Fix color mix serialization to reflect new language in spec.

https://csswg.sesse.net/css-color-5/#serial-color-mix
"""
The serialization of the specified value of a color-mix() function is the string "color-mix(in ", followed by the specified \<color-space> in all-lowercase, followed by ", ", followed by the first specified color, followed by a space, followed by the specified (un-normalized) first percentage (unless that is 50%), followed by ", ", followed by the second specified color, followed by the specified (un-normalized) second percentage (unless either that is 50%, or the two specified percentages add to 100%), followed by ")".
"""

Bug: 1458045
Change-Id: I6481632e4a5fecab4cbbcbff989fe29d1dba42fb
Reviewed-on: https://chromium-review.googlesource.com/4646411
WPT-Export-Revision: 888544e49c528487a2c50927800e386e9278ca84

Component: web-platform-tests → CSS Parsing and Computation
Product: Testing → Core
Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/59b3384d9c27 [wpt PR 40773] - Fix color mix serialization to reflect new language in spec., a=testonly https://hg.mozilla.org/integration/autoland/rev/07a86ddcbde3 [wpt PR 40773] - Update wpt metadata, a=testonly
Test result changes from PR not available.
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 117 Branch
You need to log in before you can comment on or make changes to this bug.