Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
[css-cascade-6] Support limits for implicit scopes
The grammar allowed this, but the prose did not.
  • Loading branch information
andruud committed Feb 17, 2023
commit ca9cfcd7590bf4ac01a1bcd65d7d805646a61405
6 changes: 4 additions & 2 deletions css-cascade-6/Overview.bs
Original file line number Diff line number Diff line change
Expand Up @@ -385,8 +385,10 @@ Scoping Styles: the ''@scope'' rule</h4>
of the stylesheet where the ''@scope'' rule is defined.
If no such element exist,
then the [=scoping root=] is the [=root=] of the containing [=node tree=].
* The [=scoping limits=] are unset;
[=implicit scopes=] do not have lower bounds.
* Collect all elements that are [=in scope=]
and that match <<scope-end>>,
using the [=scoping root=] as the '':scope'' element, then
* Set those elements as the [=scoping limits=].

The ''@scope'' [=at-rule=] has three primary effects
on the [=style rules=] in its <<stylesheet>>:
Expand Down