diff --git a/css-view-transitions-2/Overview.bs b/css-view-transitions-2/Overview.bs index 3c98bf62762..7c1e17744b0 100644 --- a/css-view-transitions-2/Overview.bs +++ b/css-view-transitions-2/Overview.bs @@ -992,6 +992,14 @@ The [=captured element=] struct should contain these fields, in addition to the Note: The inbound transition is activated after the dispatch of {{Window/pagereveal}} to ensure mutations made in this event apply to the captured new state. + 1. To skip the transition after a timeout, the user agent may perform the following steps [=in parallel=]: + + 1. Wait for an [=implementation-defined=] [=duration=]. + + 1. [=Queue a global task=] on the [=DOM manipulation task source=] given |newDocument|'s [=relevant global object=] to perform the following step: + + 1. If |newDocument|'s [=inbound view transition params=] is |params|, then set |newDocument|'s [=inbound view transition params=] to null. + 1. Call |proceedWithNavigation|. 1. Set |oldDocument|'s [=active view transition=] to |outboundTransition|. @@ -1087,9 +1095,6 @@ Prepend the following step to the [=Perform pending transition operations=] algo 1. Set |transition|'s [=ViewTransition/active types=] to |resolvedRule|. - 1. At any given time, the UA may decide to skip the inbound transition, e.g. after an [=implementation-defined=] timeout. - To do so, the UA should [=queue a global task=] on the [=DOM manipulation task source=] given |document|'s [=relevant global object=] to perform the following step: - If |transition|'s [=ViewTransition/phase=] is not "`done`", then [=skip the view transition=] |transition| with a "{{TimeoutError}}" {{DOMException}}. 1. Return |transition|.