[Webkit-unassigned] [Bug 245552] New: Hue interpolation "specified" is not correctly implemented for hues < 0 or > 360

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Sep 22 19:26:52 PDT 2022


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

            Bug ID: 245552
           Summary: Hue interpolation "specified" is not correctly
                    implemented for hues < 0 or > 360
           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

We currently normalize hues (for CSS color functions hsl(), hwb(), lch(), and oklch()) to aggressively, and should instead be deferring normalization (hue % 360) until necessary, either because a conversation or interpolation method requires it.

This should allow us to implement the "specified" hue interpolation method, which allows for the hue to circle the spectrum multiple times if necessary (i.e. 0 -> 720 would be two revolutions).

-- 
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/20220923/8263d514/attachment.htm>


More information about the webkit-unassigned mailing list