Skip to content

[css-color-5] Any identifier should be valid at parse time for RCS in color() #8412

Open
@LeaVerou

Description

@LeaVerou

https://drafts.csswg.org/css-color-5/#relative-color-function

css-color-5 allows us to describe components of custom color spaces via the components descriptor. However, we cannot have syntax that becomes invalid at parse time based on the value of a descriptor.
Therefore, we should allow any identifier to be used for RCS in color() at parse time, and make it IACVT if the wrong identifiers are used.

cc @tabatkins @svgeesus

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions