[csswg-drafts] [view-transitions] Expose `activeViewTransition` (#12407)

bramus has just created a new issue for https://github.com/w3c/csswg-drafts:

== [view-transitions] Expose `activeViewTransition` ==
The spec refers to the [active view transition](https://drafts.csswg.org/css-view-transitions-1/#document-active-view-transition) which is [added to the Document](https://drafts.csswg.org/css-view-transitions-1/#additions-to-document). However, this is not actually exposed to authors.

The React folks have asked me about this before in some conversations, and they are working around it by manually keeping track of the active view transition whenever `startViewTransition` is called.

I think it would make sense to add `Document.activeViewTransition` (and also `Element.activeViewTransition` for scoped transitions) for easier access.

Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/12407 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Friday, 27 June 2025 14:22:27 UTC