From e546f904ffce4212508cbbf794ee00be7e220e5a Mon Sep 17 00:00:00 2001 From: Noam Rosenthal Date: Tue, 2 Apr 2024 08:40:20 +0000 Subject: [PATCH] Call the view transition page visibility change steps This allows the CSS view-transitions spec to react to page visibility changes. Specifically, skip the active transition once a page is hidden. See https://github.com/w3c/csswg-drafts/issues/9543. --- source | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/source b/source index 6fa8924b6fe..b15c73ca427 100644 --- a/source +++ b/source @@ -4050,6 +4050,7 @@ a.setAttribute('href', 'https://example.com/'); // change the content attribute
  • rendering suppression for view transitions
  • activate view transition
  • ViewTransition
  • +
  • view transition page visibility change steps
  • resolving inbound cross-document view-transition
  • setting up a cross-document view-transition
  • can navigation trigger a cross-document view-transition? @@ -78409,6 +78410,9 @@ END:VCARD
  • Run the screen orientation change steps with document. SCREENORIENTATION

  • +
  • Run the view transition page visibility change steps with + document.

  • +
  • Run any page visibility change steps which may be defined in other specifications, with visibility state and document.