diff --git a/css-view-transitions-2/Overview.bs b/css-view-transitions-2/Overview.bs index 8c533873e2e1..58a639a4f691 100644 --- a/css-view-transitions-2/Overview.bs +++ b/css-view-transitions-2/Overview.bs @@ -305,8 +305,8 @@ Note: as per default behavior, the ''@view-transition'' rule can be nested insid
Name: type For: @view-transition - Value: <The 'type' descriptor sets the [=ViewTransition/active types=] for the transition @@ -453,11 +453,19 @@ The {{CSSViewTransitionRule}} represents a ''@view-transition'' rule.>* - Initial: an empty list + Value: none | < >* + Initial: none
skip transition
".
+
+ 1. If |matchingRule|'s [=@view-transition/navigation=] descriptor's [=computed value=] is ''@view-transition/navigation/none'', then return "skip transition
".
+
+ 1. Assert: |matchingRule|'s [=@view-transition/navigation=] descriptor's [=computed value=] is ''@view-transition/navigation/auto''.
+
+ 1. Let |typesDescriptor| be |matchingRule|'s [=@view-transition/type=] descriptor.
- 1. If |matchingRule| is not found, then return "not found
".
+ 1. If |typesDescriptor|'s [=computed value=] is ''@view-transition/type/none'', then return an [=empty list=].
- 1. Return a [=list=] of strings corresponding to that descriptor's [=computed value=].
+ 1. Return a [=list=] of strings corresponding to |typesDescriptor|'s [=computed value=].
not found
", then call |onReady| and return.
+ 1. If |resolvedRule| is "skip transition
", then call |onReady| and return.
Note: We don't know yet if |newDocument| has opted in, as it might not be parsed yet.
We check the opt-in for |newDocument| when it is [=reveal=].
@@ -549,7 +557,7 @@ The {{CSSViewTransitionRule}} represents a ''@view-transition'' rule.
1. [=Resolve @view-transition rule=] for |document| and let |resolvedRule| be the result.
- 1. If |resolvedRule| is "not found
", then [=skip the view transition|skip=] |transition| and return null.
+ 1. If |resolvedRule| is "skip transition
", then [=skip the view transition|skip=] |transition| and return null.
1. Set |transition|'s [=ViewTransition/active types=] to |resolvedRule|.