File tree 1 file changed +8
-2
lines changed
1 file changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -251,6 +251,9 @@ Scoped Styles</h2>
251
251
up to any [=scoping limit=] elements. [=Scoping limit=] elements and
252
252
their descendants are not included in the [=scope=] .
253
253
254
+ [=Pseudo-elements=] cannot be [=scoping roots=] or [=scoping limits=] ;
255
+ they are invalid both within <<scope-start>> and <<scope-end>> .
256
+
254
257
Note: In contrast to [[CSS-SCOPING-1#shadow-dom|Shadow Encapsulation]] ,
255
258
which describes a persistent one-to-one relationship in the DOM
256
259
between a [=shadow host=] and its nested [=shadow tree=] ,
@@ -476,8 +479,11 @@ Scoping Styles: the ''@scope'' rule</h4>
476
479
are [=scoped selectors|scoped by=]
477
480
the selectors of the outer one.
478
481
479
- [=Pseudo-elements=] cannot be [=scoping roots=] or [=scoping limits=] ;
480
- they are invalid both within <<scope-start>> and <<scope-end>> .
482
+ Global, name-defining [=at-rules=]
483
+ such as ''@keyframes'' or ''@font-face'' or ''@layer''
484
+ that are defined inside ''@scope'' are valid,
485
+ but are not scoped or otherwise affected
486
+ by the enclosing ''@scope'' rule.
481
487
482
488
<h4 id="scope-combinator">
483
489
Scoped Descendant Combinator</h4>
You can’t perform that action at this time.
0 commit comments