From e317579405c7dbdc56da62d753f627843293d4b5 Mon Sep 17 00:00:00 2001 From: Noam Rosenthal Date: Thu, 28 Mar 2024 13:45:32 +0000 Subject: [PATCH] [css-view-transitions-2] Allow pseudo-element with class and no * Based on resolution: https://github.com/w3c/csswg-drafts/issues/9874#issuecomment-2023235242 Closes #9874 --- css-view-transitions-2/Overview.bs | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/css-view-transitions-2/Overview.bs b/css-view-transitions-2/Overview.bs index 3586918e7ce..755e34e185b 100644 --- a/css-view-transitions-2/Overview.bs +++ b/css-view-transitions-2/Overview.bs @@ -631,17 +631,18 @@ div.box { are extended to support the following syntax:
-		::view-transition-group(<><>)
-		::view-transition-image-pair(<><>)
-		::view-transition-old(<><>)
-		::view-transition-new(<><>)
+		::view-transition-group(<>)
+		::view-transition-image-pair(<>)
+		::view-transition-old(<>)
+		::view-transition-new(<>)
 	
where <> works as previously defined, and - <> has the following syntax definition: + <> has the following syntax definition:
-		<pt-class-selector> = ['.' <>]*
+		<pt-name-and-class-selector> = <><>? | <>
+		<pt-class-selector> = ['.' <>]+
 	
A [=named view transition pseudo-element=] [=selector=] which has one or more <> values