[Webkit-unassigned] [Bug 251152] color() function parsing incorrectly parses missing components
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Thu Jan 26 07:58:31 PST 2023
https://bugs.webkit.org/show_bug.cgi?id=251152
Chris Lilley <chris at w3.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |chris at w3.org
--- Comment #4 from Chris Lilley <chris at w3.org> ---
This used to be correct per spec, long ago when color() also did custom color spaces and it was reasonable to omit some components and have them auto-filled with zero.
Now custom color spaces are in CSS Color 5, and clearly distinguished with a dashed-ident; while predefined color spaces are in CSS Color 4 and are wither an RGB space or an XYZ space. Both take 3 components, as the grammar makes clear.
There was some leftover prose about variable number of components, not up to date with the grammar change, which I just corrected.
--
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/20230126/a966d82b/attachment.htm>
More information about the webkit-unassigned
mailing list