-
Notifications
You must be signed in to change notification settings - Fork 22.9k
Description
MDN URL
https://developer.mozilla.org/en-US/docs/Web/CSS/@scope
What specific section or headline is this issue about?
Specificity in @scope
What information was incorrect, unhelpful, or incomplete?
The first line of this headline says
Inside an @scope rule, both bare selectors and & behave as if :where(:scope) were prepended to the selector.
But from the articles below
https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_cascade/Specificity#how_scope_blocks_affect_specificity
https://developer.chrome.com/docs/css-ui/at-scope#scope_and_specificity
They mention & img is equivalent to :is(figure, #primary) img.
What did you expect to see?
I expected & img
to be equivalent to :is(figure, #primary) img
on this page https://developer.mozilla.org/en-US/docs/Web/CSS/@scope#specificity_in_scope
Do you have any supporting links, references, or citations?
https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_cascade/Specificity#how_scope_blocks_affect_specificity
https://developer.chrome.com/docs/css-ui/at-scope
Do you have anything more you want to share?
No response
MDN metadata
Page report details
- Folder:
en-us/web/css/@scope
- MDN URL: https://developer.mozilla.org/en-US/docs/Web/CSS/@scope
- GitHub URL: https://github.com/mdn/content/blob/main/files/en-us/web/css/@scope/index.md
- Last commit: 4708192
- Document last modified: 2025-08-28T13:44:16.000Z