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 <dfn export>view transition page-visibility change steps</dfn> given {{Document}} |document| are:
1668
+
1669
+
1. If |document|'s [=Document/visibility state=] is "<code>hidden</code>", then:
1670
+
1671
+
1. If |document|'s [=active view transition=] is not null, then [=skip the view transition|skip=] |document|'s [=active view transition=].
1672
+
1673
+
1. Otherwise, [=assert=]: [=active view transition=] is null.
1674
+
1675
+
Note: this is called from the HTML spec.
1676
+
</div>
1677
+
1665
1678
## [=Capture the image=] ## {#capture-the-image-algorithm}
1666
1679
1667
1680
<div algorithm>
@@ -1939,6 +1952,7 @@ Changes from <a href="https://www.w3.org/TR/2023/WD-css-view-transitions-1-20230
1939
1952
* Add animation-delay inherit to UA stylesheet rules for (::view-transition) -image-pair, -old, and -new. See <a href="https://github.com/w3c/csswg-drafts/issues/9817">issue 9817</a>.
1940
1953
* Auto-skip animation when document is hidden. See <a href="https://github.com/w3c/csswg-drafts/issues/9543">issue 9543</a>.
1941
1954
* 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>.
1955
+
* 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>.
1942
1956
1943
1957
<h3 id="changes-since-2022-05-25">
1944
1958
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