Skip to content

Commit f8bed1f

Browse files
cdoublevnt1m
authored andcommitted
[css-view-transitions-2] Typo
Pseudo classes start with a single colon. Pseudo elements start with two.
1 parent 8c4d951 commit f8bed1f

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

css-view-transitions-2/Overview.bs

+3-3
Original file line numberDiff line numberDiff line change
@@ -297,7 +297,7 @@ It has the following syntax definition:
297297

298298
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.
299299

300-
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:
300+
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:
301301

302302
* The <<vt-type-selector>> is ''*''
303303
* |viewTransition|'s [=ViewTransition/active types=] [=list/contains=] at least one of the <<custom-ident>> values of the <<vt-type-selector>>.
@@ -308,7 +308,7 @@ For example, the developer might start a transition in the following manner:
308308
document.startViewTransition({update: updateTheDOMSomehow, types: ["slide-in", "reverse"]});
309309
```
310310

311-
This will activate any of the following '::active-view-transition()'' selectors:
311+
This will activate any of the following ':active-view-transition()'' selectors:
312312
```css
313313
:root:active-view-transition(slide-in) {}
314314
:root:active-view-transition(reverse) {}
@@ -317,7 +317,7 @@ This will activate any of the following '::active-view-transition()'' selectors:
317317
:root:active-view-transition(*) {}
318318
```
319319

320-
While starting a transition without selecting transition types, would only activate '::active-view-transition()'' with ''*'':
320+
While starting a transition without selecting transition types, would only activate ':active-view-transition()'' with ''*'':
321321

322322
```js
323323
document.startViewTransition(updateTheDOMSomehow);

0 commit comments

Comments
 (0)