Skip to content

Commit 1cc230b

Browse files
authored
[css-view-transitions-2] Exclude -ua-* and none in types (#14101)
* [css-view-transitions-2] Exclude `-ua-*` and `none` in types Based on resolution #9534 (comment) Closes #14081 * dash * Make algorithm explicit * Make more explicit
1 parent f5f456b commit 1cc230b

1 file changed

Lines changed: 9 additions & 0 deletions

File tree

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

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2033,6 +2033,15 @@ The [=@view-transition/types=] descriptor
20332033
The '<dfn for="@view-transition">types</dfn>' descriptor sets the [=ViewTransition/active types=] for the transition
20342034
when capturing or performing the transition, equivalent to calling {{Document/startViewTransition(callbackOptions)}} with that {{StartViewTransitionOptions/types}}.
20352035

2036+
<dl dfn-type=value dfn-for="@view-transition/types">
2037+
: <dfn>none</dfn>
2038+
:: No transition types are set.
2039+
2040+
: <dfn><<custom-ident>>+</dfn>
2041+
:: 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.
2043+
</dl>
2044+
20362045
Note: the [=@view-transition/types=] descriptor only applies to the {{Document}} in which it is defined.
20372046
The author is responsible for using their chosen set of types in both documents.
20382047

0 commit comments

Comments
 (0)