Relative selectors parent { > child { } } #19

Merged
dralletje merged 1 commit from relative-selectors into main 2025-04-18 18:40:41 +02:00
dralletje commented 2025-04-18 17:27:42 +02:00 (Migrated from github.com)

Add support for https://drafts.csswg.org/selectors-4/#relative

Initially I added a RelativeSelector rule, but figured it would be easier to just make the first selectors optional.

This does lead to top level relative selectors, which are normally invalid,
and to multiple child nested selectors parsing. (> > uhh { })

Add support for https://drafts.csswg.org/selectors-4/#relative Initially I added a RelativeSelector rule, but figured it would be easier to just make the first selectors optional. This does lead to top level relative selectors, which are normally invalid, and to multiple child nested selectors parsing. (`> > uhh { }`)
marijnh commented 2025-04-18 18:41:05 +02:00 (Migrated from github.com)

Looks good!

Looks good!
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
lezer/css!19
No description provided.