Skip to content

Commit 01bedbd

Browse files
committed
Make parsing fail on invalid types
1 parent 196cb29 commit 01bedbd

1 file changed

Lines changed: 5 additions & 2 deletions

File tree

css-view-transitions-2/Overview.bs

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2037,11 +2037,14 @@ 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.
2042+
The <<custom-ident>> `none`, as well as any <<custom-ident>> starting with `-ua-`, are considered in.
20432043
</dl>
20442044

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

0 commit comments

Comments
 (0)