From 51def9d9be488db8c030116521b6d71bcafa44d7 Mon Sep 17 00:00:00 2001 From: Anders Hartvoll Ruud Date: Thu, 16 Feb 2023 22:59:20 +0100 Subject: [PATCH] [css-cascade-6] Disallow pseudo-elements in @scope prelude Resolves #7382. --- 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 4ab0a1d80634..c728636594aa 100644 --- a/css-cascade-6/Overview.bs +++ b/css-cascade-6/Overview.bs @@ -476,6 +476,9 @@ 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 <>. +

Scoped Descendant Combinator

@@ -553,6 +556,9 @@ Changes since the 21 December 2021 First Public Working Draft Significant changes since the 21 December 2021 First Public Working Draft include: + * Disallowed [=pseudo-elements=] in the ''@scope'' prelude. + (Issue 7382) + * Removed selector scoping notation. (Issue 7709)