Bug 236499
| Summary: | [font-palette] CSSOM serialization of @font-palette-values canonicalises specified values | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Dominik Röttsches (drott) <d-r> |
| Component: | Text | Assignee: | Nobody <webkit-unassigned> |
| Status: | NEW | ||
| Severity: | Normal | CC: | mmaxfield, webkit-bug-importer |
| Priority: | P2 | Keywords: | InRadar |
| Version: | Safari Technology Preview | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
Dominik Röttsches (drott)
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 | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Dominik Röttsches (drott)
WPT change merged in https://github.com/web-platform-tests/wpt/pull/32748/files
Radar WebKit Bug Importer
<rdar://problem/88943466>