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
## The snapshot containing block ## {#snapshot-containing-block-concept}
786
786
787
787
The <dfn>snapshot containing block</dfn> is a rectangle that covers all areas of the window that could potentially display web content.
788
-
This area is consistent regardless of root scrollbars or interactive widgets.
789
-
790
-
Issue: "Interactive widgets" refers to UI described within a property definition in [[css-viewport#interactive-widget-section]].
791
-
This should be extracted into an exported definition that can be used independently of the property.
788
+
This area is consistent regardless of root scrollbars or [=interactive-widget|interactive widgets=].
792
789
793
790
<figure>
794
791
<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">
The [=view-transition layer=] is a sibling of this stacking context.
834
831
835
832
- The [=view-transition layer=] paints after the stacking context for the [=document element=] and [/=document=]'s [=Document/top layer=].
833
+
This includes the filters and effects that are applied to the [=document element=].
836
834
837
835
Note: The intent of the feature is to be able to capture the contents of the page, which includes the top layer elements.
838
836
In order to accomplish that, the [=view-transition layer=] cannot be a part of the captured top layer context,
839
837
since that results in a circular dependency.
840
838
Instead, this stacking context is a sibling of other page contents.
841
839
842
-
Issue: Do we need to clarify that the stacking context for the root and top layer elements has filters and effects coming from the [=document element=]'s style?
843
-
844
840
## [=Captured elements=] ## {#captured-elements}
845
841
846
842
A <dfn>captured element</dfn> is a [=struct=] with the following:
847
843
848
844
<dl dfn-for="captured element">
849
845
: <dfn>old image</dfn>
850
-
:: an image or null. Initially null.
846
+
:: an {{ImageData}} or null. Initially null.
851
847
852
-
Issue: The type of "image" needs to be linked or defined.
848
+
: <dfn>old width</dfn>
849
+
: <dfn>old height</dfn>
850
+
:: an {{unrestricted double}}, initially zero.
853
851
854
-
: <dfn>old styles</dfn>
855
-
:: a set of styles or null. Initially null.
852
+
: <dfn>old transform</dfn>
853
+
:: a <a data-xref-type="css-type"><transform-function></a>, initially the [=identity transform function=].
856
854
857
-
Issue: The type of "a set of styles" needs to be linked or defined.
0 commit comments