[wpt-sync] Sync PR 40773 - Fix color mix serialization to reflect new language in spec.
Categories
(Core :: CSS Parsing and Computation, task, P4)
Tracking
()
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
Assignee | ||
Updated•2 years ago
|
Assignee | ||
Comment 1•2 years ago
|
||
Assignee | ||
Comment 3•2 years ago
|
||
Comment 4•2 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/59b3384d9c27
https://hg.mozilla.org/mozilla-central/rev/07a86ddcbde3
Description
•