Skip to content

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

@svgeesus

Description

@svgeesus

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>.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions