Skip to content

Commit 71cfae7

Browse files
committed
[css-view-transitions-2] Specificity of :active-view-transition()
As per resolution, specificity is 1 pseudo-class (if *) or 2 pseudo-classes (if a type ident) Closes w3c#9546
1 parent b373bb8 commit 71cfae7

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

css-view-transitions-2/Overview.bs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -218,6 +218,8 @@ It has the following syntax definition:
218218
<dfn>&lt;vt-type-selector></dfn> = '*' | <<custom-ident>>#
219219
</pre>
220220

221+
The [=specificity=] of an '':active-view-transition()'' is one pseudo-class selector if it has value is ''*'', and two if it has any other value.
222+
221223
An ''::active-view-transition()'' pseudo-class matches the [=document element=] when it has an non-null [=active view transition=] |viewTransition|, for which any of the following are true:
222224

223225
* The <<vt-type-selector>> is ''*''

0 commit comments

Comments
 (0)