Skip to content

Commit

Permalink
[css-view-transitions-2] Allow pseudo-element with class and no * (#1…
Browse files Browse the repository at this point in the history
…0153)

Based on resolution:
#9874 (comment)

Closes #9874
  • Loading branch information
noamr committed Mar 28, 2024
1 parent 0817f0b commit 127f19f
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions css-view-transitions-2/Overview.bs
Original file line number Diff line number Diff line change
Expand Up @@ -631,17 +631,18 @@ div.box {
are extended to support the following syntax:

<pre class=prod>
::view-transition-group(<<pt-name-selector>><<pt-class-selector>>)
::view-transition-image-pair(<<pt-name-selector>><<pt-class-selector>>)
::view-transition-old(<<pt-name-selector>><<pt-class-selector>>)
::view-transition-new(<<pt-name-selector>><<pt-class-selector>>)
::view-transition-group(<<pt-name-and-class-selector>>)
::view-transition-image-pair(<<pt-name-and-class-selector>>)
::view-transition-old(<<pt-name-and-class-selector>>)
::view-transition-new(<<pt-name-and-class-selector>>)
</pre>

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

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

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

0 comments on commit 127f19f

Please sign in to comment.