-
Notifications
You must be signed in to change notification settings - Fork 641
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[css-cascade-6] Disallow pseudo-elements in @scope's prelude #7382
Projects
Comments
Yeah this restriction makes sense. |
I agree this makes sense. Could we consider that an 'obvious bugfix', or should we bring it up for (maybe async) resolution? |
Obvious bugfix, imo. |
andruud
added a commit
to andruud/csswg-drafts
that referenced
this issue
Feb 16, 2023
andruud
added a commit
to andruud/csswg-drafts
that referenced
this issue
Feb 16, 2023
mirisuzanne
added a commit
that referenced
this issue
Feb 17, 2023
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
The text was updated successfully, but these errors were encountered: