From ca9cfcd7590bf4ac01a1bcd65d7d805646a61405 Mon Sep 17 00:00:00 2001 From: Anders Hartvoll Ruud Date: Fri, 17 Feb 2023 21:06:04 +0100 Subject: [PATCH] [css-cascade-6] Support limits for implicit scopes The grammar allowed this, but the prose did not. --- css-cascade-6/Overview.bs | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/css-cascade-6/Overview.bs b/css-cascade-6/Overview.bs index 7e650e70ea5c..9bfa945c9492 100644 --- a/css-cascade-6/Overview.bs +++ b/css-cascade-6/Overview.bs @@ -385,8 +385,10 @@ Scoping Styles: the ''@scope'' rule 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 <>, + 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 <>: