Currently transitions can only be started on an element/document.
Starting a transition on the element as the scope, would only include same-tree descendants of that element when finding participants.
Considering adding shadowRoot.startViewTransition
, which would pick elements and create pseudo elements inside the shadow scope.
How does this work with Shadow DOM? If I'm manipulating multiple elements that are directly the children of a shadow root, what do I call startViewTransition()
on?
Originally posted by @EisenbergEffect in #9890