w3c/css-houdini-drafts

[css-typed-om] Do not reference CSS Color 3 for `<color>`

svgeesus opened this issue · 2 comments

In 4.6 CSSColorValue objects, the parse(cssText) method states

Parse cssText as a <color> and let result be the result.

It links to CSS Color 3, which states "A <color> is either a keyword or a numerical specification" and then defines a legacy set of sRGB-only ways to define a color. It misses out Lab, LCH, HWB, and color() so is an inappropriate reference.

I suspect this is merely a bikeshed issue and that the intent was to link to the CSS Color 4 definition of <color>.

Will be fixed by w3c/csswg-drafts#6436