Skip to content

Commit cca93bb

Browse files
authored
[css-view-transitions-2] Revisit the -ua- types fix to make parsing invalid (#14111)
* Make parsing fail on invalid types * Also fix header
1 parent d3a70f1 commit cca93bb

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

‎css-view-transitions-2/Overview.bs‎

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2026,7 +2026,7 @@ The [=@view-transition/types=] descriptor
20262026
<pre class='descdef'>
20272027
Name: types
20282028
For: @view-transition
2029-
Value: none | <<custom-ident>>+
2029+
Value: none | <<view-transition-type>>+
20302030
Initial: none
20312031
</pre>
20322032

@@ -2037,11 +2037,12 @@ The [=@view-transition/types=] descriptor
20372037
: <dfn>none</dfn>
20382038
:: No transition types are set.
20392039

2040-
: <dfn><<custom-ident>>+</dfn>
2040+
: <dfn><<view-transition-type>>+</dfn>
20412041
:: Sets the [=ViewTransition/active types=] for the transition to the specified custom identifiers.
2042-
The <<custom-ident>> `none`, as well as any <<custom-ident>> starting with `-ua-`, are ignored.
20432042
</dl>
20442043

2044+
where <<view-transition-type>> is any <<custom-ident>> other than `none`, and not starting with the string "-ua-".
2045+
20452046
Note: the [=@view-transition/types=] descriptor only applies to the {{Document}} in which it is defined.
20462047
The author is responsible for using their chosen set of types in both documents.
20472048

0 commit comments

Comments
 (0)