Skip to content

Commit ea5821e

Browse files
authored
[css-view-transitions-1] Clarify SCB for iframe (#10104)
* Fix heading indentation * Update Overview.bs * [css-view-transitions-1] Update SCB resolutions Closes #9786
1 parent 411a2fe commit ea5821e

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

css-view-transitions-1/Overview.bs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -768,6 +768,8 @@ urlPrefix: https://wicg.github.io/navigation-api/; type: interface;
768768
(and is therefore consistent regardless of root scrollbars or [=interactive-widget|interactive widgets=]).
769769
This makes it likely to be consistent for the [=document element=]'s [=captured element/old image=] and [=captured element/new element=].
770770

771+
For iframes, the [=snapshot containing block=] corresponds to its [=initial containing block=].
772+
771773
<figure>
772774
<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">
773775
<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">
@@ -1213,6 +1215,8 @@ urlPrefix: https://wicg.github.io/navigation-api/; type: interface;
12131215
## [=Perform pending transition operations=] ## {#perform-pending-transition-operations-algorithm}
12141216

12151217
<div algorithm>
1218+
<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>
1219+
12161220
To <dfn>perform pending transition operations</dfn> given a {{Document}} |document|, perform the following steps:
12171221

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

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

1319+
1. If the [=snapshot containing block size=] exceeds an [=implementation-defined=] maximum, then return failure.
1320+
13151321
1. Set |transition|'s [=ViewTransition/initial snapshot containing block size=] to the [=snapshot containing block size=].
13161322

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

0 commit comments

Comments
 (0)