-
Notifications
You must be signed in to change notification settings - Fork 33
@scope #183
Copy link
Copy link
Closed
Labels
focus-area-proposalFocus Area ProposalFocus Area Proposal
Description
Description
This proposal includes the @scope rule, as specified by: https://drafts.csswg.org/css-cascade-6/#scope-atrule
It does not include:
- Selector scoping notation. (This will likely be removed from the spec).
- The >> combinator.
- The ~~ combinator.
Rationale
It’s on the list of missing features in the State of CSS survey.
https://2021.stateofcss.com/en-US/opinions/#currently_missing_from_css_wins
Specification
https://drafts.csswg.org/css-cascade-6/#scope-atrule
Tests
https://wpt.fyi/results/css/css-cascade/*scope*:
at-scope-parsing.html
scope-deep.html
scope-evaluation.html
scope-invalidation.html
scope-proximity.html
scope-specificity.html
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
focus-area-proposalFocus Area ProposalFocus Area Proposal