You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: css-view-transitions-2/Overview.bs
+8-3Lines changed: 8 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -992,6 +992,14 @@ The [=captured element=] struct should contain these fields, in addition to the
992
992
993
993
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.
994
994
995
+
1. To skip the transition after a timeout, the user agent may perform the following steps [=in parallel=]:
996
+
997
+
1. Wait for an [=implementation-defined=][=duration=].
998
+
999
+
1. [=Queue a global task=] on the [=DOM manipulation task source=] given |newDocument|'s [=relevant global object=] to perform the following step:
1000
+
1001
+
1. If |newDocument|'s [=inbound view transition params=] is |params|, then set |newDocument|'s [=inbound view transition params=] to null.
1002
+
995
1003
1. Call |proceedWithNavigation|.
996
1004
997
1005
1. Set |oldDocument|'s [=active view transition=] to |outboundTransition|.
@@ -1087,9 +1095,6 @@ Prepend the following step to the [=Perform pending transition operations=] algo
1087
1095
1088
1096
1. Set |transition|'s [=ViewTransition/active types=] to |resolvedRule|.
1089
1097
1090
-
1. At any given time, the UA may decide to skip the inbound transition, e.g. after an [=implementation-defined=] timeout.
1091
-
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:
1092
-
If |transition|'s [=ViewTransition/phase=] is not "`done`", then [=skip the view transition=] |transition| with a "{{TimeoutError}}" {{DOMException}}.
0 commit comments