[Webkit-unassigned] [Bug 245276] New: Update CSS Color parsing and serialization to match the current spec

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Sep 16 08:31:51 PDT 2022


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

            Bug ID: 245276
           Summary: Update CSS Color parsing and serialization to match
                    the current spec
           Product: WebKit
           Version: Other
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: CSS
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: sam at webkit.org

CSS Color 4 has made a few parsing and serialization changes we should match:

- lch/lab/oklch/oklab all now take percent or number for all the non-hue components (with some new normalization / scaling rules for the percents)
- lch/lab/oklch/oklab all now serialize using the numeric form for all non-hue components.

Since we now want to serialize using the numeric form, we can also use this opportunity to remove the extra multiplications and divisions by 100 for oklch/oklab that we had to keep lightness as a percent, and just always keep it in the numeric form.

-- 
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/20220916/4a03c94d/attachment.htm>


More information about the webkit-unassigned mailing list