-
Notifications
You must be signed in to change notification settings - Fork 35
Closed
Description
The css-color spec has been changed to disallow missing components in the color() syntax.
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.
See:
Metadata
Metadata
Assignees
Labels
No labels