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
1. Let |document| be [=this's=][=relevant global object's=][=associated document=].
958
958
959
+
1. If |document|'s [=Document/visibility state=] is "<code>hidden</code>",
960
+
then [=skip the view transition|skip=] |transition| with an "{{InvalidStateError}}" {{DOMException}},
961
+
and return.
962
+
959
963
1. If |document|'s [=auto-skip view transitions=] is true,
960
-
then [=skip the view transition=]for |transition| with "{{InvalidStateError}}" {{DOMException}},
964
+
then [=skip the view transition|skip=] |transition| with an "{{InvalidStateError}}" {{DOMException}},
961
965
and return.
962
966
963
967
1. If |document|'s [=active view transition=] is not null,
@@ -1955,7 +1959,7 @@ Changes from <a href="https://www.w3.org/TR/2023/WD-css-view-transitions-1-20230
1955
1959
* Add note to explain how the named elements are cleaned up. See <a href="https://github.com/w3c/csswg-drafts/issues/9669">issue 9669</a>.
1956
1960
* Refactor algorithm to clarify timing, especially of `updateCallbackDone. See <a href="https://github.com/w3c/csswg-drafts/issues/9762">issue 9762</a>.
1957
1961
* 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>.
1958
-
1962
+
* Auto-skip animation when document is hidden. See <a href="https://github.com/w3c/csswg-drafts/issues/9543">issue 9543</a>.
1959
1963
<h3 id="changes-since-2022-05-25">
1960
1964
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