Re: [csswg-drafts] [view-transitions-2] Add method to get all animations of a ViewTransition object (#9908)

^ I like @vmpstr's suggestion above. So there's 2 independent proposals here:

1. Add "pseudo" to the list of options for getAnimations.
2. Add a getTransitionRoot() API to retrieve the element associated with the transition.

Should we defer on 2 until scoped transitions starts being spec'd? As it stands today this would always return the document element.

-- 
GitHub Notification of comment by khushalsagar
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/9908#issuecomment-2161725881 using your GitHub account


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

Received on Tuesday, 11 June 2024 22:49:07 UTC