diff --git a/css-cascade-6/Overview.bs b/css-cascade-6/Overview.bs index c728636594a..b98fc3b01c7 100644 --- a/css-cascade-6/Overview.bs +++ b/css-cascade-6/Overview.bs @@ -251,6 +251,9 @@ Scoped Styles up to any [=scoping limit=] elements. [=Scoping limit=] elements and their descendants are not included in the [=scope=]. + [=Pseudo-elements=] cannot be [=scoping roots=] or [=scoping limits=]; + they are invalid both within <> and <>. + Note: In contrast to [[CSS-SCOPING-1#shadow-dom|Shadow Encapsulation]], which describes a persistent one-to-one relationship in the DOM between a [=shadow host=] and its nested [=shadow tree=], @@ -476,8 +479,11 @@ Scoping Styles: the ''@scope'' rule are [=scoped selectors|scoped by=] the selectors of the outer one. - [=Pseudo-elements=] cannot be [=scoping roots=] or [=scoping limits=]; - they are invalid both within <> and <>. + 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.

Scoped Descendant Combinator