Skip to content

[css-variables] should "--" be a valid custom property name? #2692

@litherum

Description

@litherum

https://drafts.csswg.org/css-variables/#typedef-custom-property-name

The production corresponds to this: it’s defined as any valid identifier that starts with two dashes.

Shouldn't it be "any valid identifier that starts with two dashes and has a length greater than equal to 3"?

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