Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions css-view-transitions-1/Overview.bs
Original file line number Diff line number Diff line change
Expand Up @@ -768,6 +768,8 @@ urlPrefix: https://wicg.github.io/navigation-api/; type: interface;
(and is therefore consistent regardless of root scrollbars or [=interactive-widget|interactive widgets=]).
This makes it likely to be consistent for the [=document element=]'s [=captured element/old image=] and [=captured element/new element=].

For iframes, the [=snapshot containing block=] corresponds to its [=initial containing block=].

<figure>
<img src="diagrams/phone-browser.svg" width="200" height="335" alt="A diagram of a phone screen, including a top status bar, a browser URL bar, web-content area with a floating scrollbar, a virtual keyboard, and a bottom bar with an OS back button">
<img src="diagrams/phone-browser-snapshot-root.svg" width="200" height="335" alt="The previous diagram, but highlights the area that's the 'snapshot containing block', which includes everything except the top status bar and the bottom bar with the OS back button">
Expand Down Expand Up @@ -1213,6 +1215,8 @@ urlPrefix: https://wicg.github.io/navigation-api/; type: interface;
## [=Perform pending transition operations=] ## {#perform-pending-transition-operations-algorithm}

<div algorithm>
<div class=note>This algorithm is invoked as a part of <a href="https://html.spec.whatwg.org/#event-loop-processing-model:perform-pending-transition-operations">update the rendering loop</a> in the html spec.</div>

To <dfn>perform pending transition operations</dfn> given a {{Document}} |document|, perform the following steps:

1. If |document|'s [=document/active view transition=] is not null, then:
Expand Down Expand Up @@ -1312,6 +1316,8 @@ urlPrefix: https://wicg.github.io/navigation-api/; type: interface;

1. Let |document| be |transition|'s [=relevant global object's=] [=associated document=].

1. If the [=snapshot containing block size=] exceeds an [=implementation-defined=] maximum, then return failure.

1. Set |transition|'s [=ViewTransition/initial snapshot containing block size=] to the [=snapshot containing block size=].

1. [=list/For each=] |element| of every [=/element=] that is [=/connected=],
Expand Down