Skip to content

Commit 1e7c8b6

Browse files
authored
[css-view-transitions-2] Use brackets to fix "<pt-class-selector>" syntax (#9885)
The syntax used parentheses for grouping, instead of brackets, see: https://drafts.csswg.org/css-values-4/#component-combinators
1 parent 258a87e commit 1e7c8b6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

css-view-transitions-2/Overview.bs

+1-1
Original file line numberDiff line numberDiff line change
@@ -353,7 +353,7 @@ document.startViewTransition({update: updateTheDOMSomehow});
353353
<<pt-class-selector>> has the following syntax definition:
354354

355355
<pre class=prod>
356-
<dfn>&lt;pt-class-selector></dfn> = ('.' <<custom-ident>>)*
356+
<dfn>&lt;pt-class-selector></dfn> = ['.' <<custom-ident>>]*
357357
</pre>
358358

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

0 commit comments

Comments
 (0)