Skip to content

[css-cascade-6] Disallow pseudo-elements in @scope's prelude #7382

Closed
@andruud

Description

@andruud

I think we should make it a parse error to use pseudo-element selectors in @scope's prelude (like we already do for e.g. :is/:where). It's a significant engineering effort to support properly, and it doesn't seem very useful. You could reference the pseudo-scoping-root itself with :scope, but not much else.

We should disallow it, at least until there is a point in allowing it.

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