You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The css-color spec has been changed to disallow missing components in the
color()
syntax.See:
The text was updated successfully, but these errors were encountered: