[go: nahoru, domu]

Skip to content

Commit

Permalink
[css-cascade-6] Specify how name-defining at-rules behave in @scope
Browse files Browse the repository at this point in the history
Resolves w3c#6895.
  • Loading branch information
andruud committed Feb 16, 2023
1 parent 16dc22b commit 5aca853
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions css-cascade-6/Overview.bs
Original file line number Diff line number Diff line change
Expand Up @@ -476,6 +476,12 @@ Scoping Styles: the ''@scope'' rule</h4>
are [=scoped selectors|scoped by=]
the selectors of the outer one.

Global, name-defining [=at-rules=]
such as ''@keyframes'' or ''@font-face'' or ''@layer''
that are defined inside ''@scope'' are valid,
but are not scoped or otherwise affected
by the enclosing ''@scope'' rule.

<h4 id="scope-combinator">
Scoped Descendant Combinator</h4>

Expand Down

0 comments on commit 5aca853

Please sign in to comment.