Skip to content

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

Closed

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.

Activity

  1. changed the title [-][css-cascade-6] Disallow pseudo-elements in @scope[/-] [+][css-cascade-6] Disallow pseudo-elements in @scope's prelude[/+] on Jun 17, 2022
  2. tabatkins commented on Jun 17, 2022

    @tabatkins
    Member

    Yeah this restriction makes sense.

  3. mirisuzanne commented on Jan 27, 2023

    @mirisuzanne
    Contributor

    I agree this makes sense. Could we consider that an 'obvious bugfix', or should we bring it up for (maybe async) resolution?

  4. tabatkins commented on Jan 27, 2023

    @tabatkins
    Member

    Obvious bugfix, imo.

  5. added 2 commits that reference this issue on Feb 16, 2023
    51def9d
    1d1de10
  6. added a commit that references this issue on Feb 17, 2023
    0a13424
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions