Skip to content

[selectors] is #42 a valid ID selector? #202

Closed
@dstoc

Description

@dstoc

https://drafts.csswg.org/selectors/#id-selectors says:

An ID selector consists of a “number sign” (U+0023, #) immediately followed by the ID value, which must be a CSS identifier.

But in the grammar <id-selector> is defined as <hash-token> which would appear to allow a sequence beginning with numbers.

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