- From: Noam Rosenthal via GitHub <noreply@w3.org>
- Date: Tue, 26 Aug 2025 09:10:57 +0000
- To: public-css-archive@w3.org
noamr has just created a new issue for https://github.com/w3c/csswg-drafts: == Usage of `activeViewTransition` for inbound cross-document transition == In #12407 we've resolved on having `activeViewTransition` reflect the "active view transition" concept. However, this might be a bit ambiguous when calling `document.activeViewTransition` before the page have been revealed in an inbound cross-document view transition. There is a pending inbound cross-document view transition, but it is not the "active view transition" until the first render opportunity. See https://drafts.csswg.org/css-view-transitions-2/#resolve-inbound-cross-document-view-transition As per resolution, `document.activeViewTransition` would return null in this case. Perhaps it should resolve the view transition and return it? It would be useful for authors who want to skip/react to the view transition without having to wait for the `pagereveal` event. //cc @bramus @vmpstr @emilio @nt1m Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/12655 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Tuesday, 26 August 2025 09:10:58 UTC