diff --git a/css-view-transitions-1/Overview.bs b/css-view-transitions-1/Overview.bs index d90034be575..7f084ba5823 100644 --- a/css-view-transitions-1/Overview.bs +++ b/css-view-transitions-1/Overview.bs @@ -949,6 +949,23 @@ urlPrefix: https://wicg.github.io/navigation-api/; type: interface; 1. Let |document| be [=this's=] [=relevant global object's=] [=associated document=]. + 1. If |document|'s [=auto-skip view transitions=] is true, then: + + 1. [=Queue a global task=] on the [=DOM manipulation task source=], + given |transition|'s [=relevant global object=], + to execute the following steps: + + 1. [=Call the update callback=] for |transition|. + + 1. [=Reject=] |transition|'s [=ViewTransition/ready promise=] with an "{{InvalidStateError}}" {{DOMException}}. + + 1. [=Mark as handled=] |transition|'s [=ViewTransition/ready promise=]. + + 1. [=Resolve=] |transition|'s [=ViewTransition/finished promise=]. + + 1. Return |transition|. + + 1. If |document|'s [=active view transition=] is not null, then [=skip the view transition|skip that view transition=] with an "{{AbortError}}" {{DOMException}} in [=this's=] [=relevant Realm=]. @@ -1142,6 +1159,9 @@ urlPrefix: https://wicg.github.io/navigation-api/; type: interface; with [=this=]'s [=document element=] is its [=originating element=]. Note: The position of the [=ViewTransition/transition root pseudo-element=] within the [=document element=] does not matter, as the [=ViewTransition/transition root pseudo-element=]'s [=containing block=] is the [=snapshot containing block=]. + + : auto-skip view transitions + :: A boolean. Initially false. ### Additions to Elements ### {#elements-concept} @@ -1927,7 +1947,7 @@ Changes from issue 9365. * Animate back-drop filter similar to transform/size. See issue 9358. * Copy `color-scheme` from DOM element to ''::view-transition-group()''. See issue 9276. - +* Expose [=auto-skip view transition=] for a {{Document}}, to allow having outbound cross-document transitions preceed programmatic view transiitons. see issue 9512.