From 5aca853f42e81fc27b9055d3fb233c1783b77a6a Mon Sep 17 00:00:00 2001 From: Anders Hartvoll Ruud Date: Thu, 16 Feb 2023 23:27:09 +0100 Subject: [PATCH] [css-cascade-6] Specify how name-defining at-rules behave in @scope Resolves #6895. --- css-cascade-6/Overview.bs | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/css-cascade-6/Overview.bs b/css-cascade-6/Overview.bs index 3792ea36116..050e6c8c157 100644 --- a/css-cascade-6/Overview.bs +++ b/css-cascade-6/Overview.bs @@ -476,6 +476,12 @@ Scoping Styles: the ''@scope'' rule 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. +

Scoped Descendant Combinator