Skip to content

Commit

Permalink
[css-view-transitions-1] Correct typo in example
Browse files Browse the repository at this point in the history
  • Loading branch information
nt1m authored Nov 21, 2023
1 parent 45a0223 commit 4bd3561
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion css-view-transitions-1/Overview.bs
Original file line number Diff line number Diff line change
Expand Up @@ -580,7 +580,7 @@ urlPrefix: https://wicg.github.io/navigation-api/; type: interface;
If a [=tree/descendant=] |pseudo| of a [=pseudo-element root=] has no other [=tree/siblings=],
then '':only-child'' matches that |pseudo|.

Note: This means that `::view-transition-new(ident):only-child` will only select `::view-transition-new(ident)` if the parent `::view-transitions-image-pair(ident)` contains a single [=tree/child=].
Note: This means that `::view-transition-new(ident):only-child` will only select `::view-transition-new(ident)` if the parent `::view-transition-image-pair(ident)` contains a single [=tree/child=].
As in, there is no [=tree/sibling=] `::view-transition-old(ident)`.

## View Transition Pseudo-elements ## {#view-transition-pseudos}
Expand Down

0 comments on commit 4bd3561

Please sign in to comment.