[Webkit-unassigned] [Bug 236499] New: [font-palette] CSSOM serialization of @font-palette-values canonicalises specified values

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Feb 11 04:38:52 PST 2022


https://bugs.webkit.org/show_bug.cgi?id=236499

            Bug ID: 236499
           Summary: [font-palette] CSSOM serialization of
                    @font-palette-values canonicalises specified values
           Product: WebKit
           Version: Safari Technology Preview
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Text
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: d-r at roettsches.de
                CC: mmaxfield at apple.com

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 at 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.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20220211/20ff0632/attachment-0001.htm>


More information about the webkit-unassigned mailing list