NEW236499
[font-palette] CSSOM serialization of @font-palette-values canonicalises specified values
https://bugs.webkit.org/show_bug.cgi?id=236499
Summary [font-palette] CSSOM serialization of @font-palette-values canonicalises spec...
Dominik Röttsches (drott)
Reported 2022-02-11 04:38:52 PST
Safari TP passes font-palette-values-valid.html which expects canonicalized serializations of the specified color values, e.g. "green" becoming "rgb(0, 127, 0)". In https://chromium-review.googlesource.com/c/chromium/src/+/3447227 I am changing the test to allow as-specified values to appear, and I think that's correct. According to CSSOM, WebKit's implementation should serialize the color-overrides as specified, not canonicalized to rgb(), rgba() values. I discussed with Rune, futhark@chromium.org, and we believe https://www.w3.org/TR/cssom-1/#serialize-a-css-component-value would be reasonable to look at here, which states that in CSSOM the serialization of a component values should try to serialize the color values as specified.
Attachments
Dominik Röttsches (drott)
Comment 1 2022-02-11 06:42:23 PST
Radar WebKit Bug Importer
Comment 2 2022-02-14 19:53:46 PST
Note You need to log in before you can comment on or make changes to this bug.