[Webkit-unassigned] [Bug 234697] New: CSS color() function should not clamp channels to the 0-1 range

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sun Dec 26 15:45:46 PST 2021


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

            Bug ID: 234697
           Summary: CSS color() function should not clamp channels to the
                    0-1 range
           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

The color() function in CSS Color 4 - https://drafts.csswg.org/css-color/#color-function - specifies that component values less than 0% or greater than 100% are not invalid:

"An out of gamut color has component values less than 0 or 0%, or greater than 1 or 100%. These are not invalid; instead, for display, they are gamut-mapped using a relative colorimetric intent which brings the values within the range 0/0% to 1/100% at computed-value time."


I have some questions about what this means in practice, and if computed value time is the right time to gamut map rather than at use, and I will raise these with the spec editors.

-- 
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/20211226/466554cb/attachment.htm>


More information about the webkit-unassigned mailing list