Skip to content

[css-syntax][selectors] Clarify handling of invalid selectors in css-syntax. #85

@Ms2ger

Description

@Ms2ger

CC @tabatkins @SimonSapin

https://drafts.csswg.org/css-syntax/#css-stylesheets says

The prelude of the qualified rule is parsed as a selector list. If this results in an invalid selector list, the entire style rule is invalid.

The prelude of a qualified rule is a list of component values, and I can't find any prose that defines how to parse that into a selector.

(Pedantic, I know, but this is much less well-defined than the rest of the otherwise well-written spec.)

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions