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
Note: Other rendering constraints are enforced via |capturedElement|'s [=new element=] being [=captured in a view transition=].
1848
1848
1849
-
1. Set |width| to the current width of |capturedElement|'s [=new element=]'s [=border box=].
1849
+
1. Let |newRect| be [=snapshot containing block=] if |capturedElement| is the [=document element=],
1850
+
otherwise, |capturedElement's [=border box=].
1850
1851
1851
-
1. Set |height| to the current height of |capturedElement|'s [=new element=]'s [=border box=].
1852
+
1. Set |width| to the current width of |newRect|.
1852
1853
1853
-
1. Set |transform| to a transform that would map |capturedElement|'s [=new element=]'s [=border box=] from the [=snapshot containing block origin=] to its current visual position.
1854
+
1. Set |height| to the current height of |newRect|.
1855
+
1856
+
1. Set |transform| to a transform that would map |newRect| from the [=snapshot containing block origin=] to its current visual position.
1854
1857
1855
1858
1. Set |writingMode| to the [=computed value=] of 'writing-mode' on |capturedElement|'s [=new element=].
1856
1859
@@ -1959,6 +1962,7 @@ Changes from <a href="https://www.w3.org/TR/2023/WD-css-view-transitions-1-20230
1959
1962
* Auto-skip animation when document is hidden. See <a href="https://github.com/w3c/csswg-drafts/issues/9543">issue 9543</a>.
1960
1963
* Remove references to cross-document view-transitions, to keep the L1 spec clean. See <a href="https://github.com/w3c/csswg-drafts/issues/9886">Issue 9886</a>.
1961
1964
* Export an algorithm to skip the active transition when the page is hidden. See <a href="https://github.com/w3c/csswg-drafts/issues/9543">issue 9543</a>.
1965
+
* Use snapshot containing block when capturing new state for document element. See <a href="https://github.com/w3c/csswg-drafts/issues/10177">issue #10177</a>.
1962
1966
1963
1967
<h3 id="changes-since-2022-05-25">
1964
1968
Changes from <a href="https://www.w3.org/TR/2023/WD-css-view-transitions-1-20230525/">2022-05-25 Working Draft</a>
0 commit comments