Re: [csswg-drafts] [css-view-transitions-1] Should view transition names be tree scoped? (#10145)

> > Correct, it's not about mixing light DOM with shadow DOM.
> 
> But you’re calling `document.startViewTransition` – with the pseudos getting injected onto `:root` – so it kinda is … no? For this to work the Light DOM needs to see the `view-transition-name` values declared in the Shadow DOM.

I think we should find a way where the pseudos are also defined in the shadow tree, but we have to deal with edge cases like `::view-transition-group:only-child`

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


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

Received on Monday, 1 July 2024 10:29:59 UTC