Skip to content
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] Absolutize Relative Selector Syntax within @scope? #10047

Closed
dshin-moz opened this issue Mar 7, 2024 · 2 comments
Closed

[css-cascade-6] Absolutize Relative Selector Syntax within @scope? #10047

dshin-moz opened this issue Mar 7, 2024 · 2 comments

Comments

@dshin-moz
Copy link

CSS Nesting spec explicitly absolutizes any use of relative selector syntax by inserting &. Seems consistent, then, to absolutize relative selector uses in @scope by inserting :scope.

By extension (Since we're treating it like scoped style rules), <scope-end> should do the same, if the relative selector syntax is used. (Aside - <scope-end> is solely defined as <forgiving-selector-list>)

@emilio
Copy link
Collaborator

emilio commented Mar 11, 2024

Ah, I think this is already resolved in #9621, right?

@dshin-moz
Copy link
Author

Ah - missed, that. Thanks!

@dshin-moz dshin-moz closed this as not planned Won't fix, can't repro, duplicate, stale Mar 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants