Skip to content

Commit 127f19f

Browse files
authored
[css-view-transitions-2] Allow pseudo-element with class and no * (#10153)
Based on resolution: #9874 (comment) Closes #9874
1 parent 0817f0b commit 127f19f

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

css-view-transitions-2/Overview.bs

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -631,17 +631,18 @@ div.box {
631631
are extended to support the following syntax:
632632

633633
<pre class=prod>
634-
::view-transition-group(<<pt-name-selector>><<pt-class-selector>>)
635-
::view-transition-image-pair(<<pt-name-selector>><<pt-class-selector>>)
636-
::view-transition-old(<<pt-name-selector>><<pt-class-selector>>)
637-
::view-transition-new(<<pt-name-selector>><<pt-class-selector>>)
634+
::view-transition-group(<<pt-name-and-class-selector>>)
635+
::view-transition-image-pair(<<pt-name-and-class-selector>>)
636+
::view-transition-old(<<pt-name-and-class-selector>>)
637+
::view-transition-new(<<pt-name-and-class-selector>>)
638638
</pre>
639639

640640
where <<pt-name-selector>> works as previously defined, and
641-
<<pt-class-selector>> has the following syntax definition:
641+
<<pt-name-and-class-selector>> has the following syntax definition:
642642

643643
<pre class=prod>
644-
<dfn>&lt;pt-class-selector></dfn> = ['.' <<custom-ident>>]*
644+
<dfn>&lt;pt-name-and-class-selector></dfn> = <<pt-name-selector>><<pt-class-selector>>? | <<pt-class-selector>>
645+
<dfn>&lt;pt-class-selector></dfn> = ['.' <<custom-ident>>]+
645646
</pre>
646647

647648
A [=named view transition pseudo-element=] [=selector=] which has one or more <<custom-ident>> values

0 commit comments

Comments
 (0)