Skip to content

[css-scoping] [selectors] <compound-selector-list> should somehow affect :is() / :where() parsing #5093

@emilio

Description

@emilio

https://drafts.csswg.org/css-scoping/#host-selector takes a <compound-selector-list> (that is, doesn't accept combinators). This is good, as otherwise it'd break the shadow tree encapsulation.

However strictly per the syntax technically something like :host(:is(div div)) should parse. I think this is a spec bug.

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