Re: [csswg-drafts] [css-view-transitions] view-transition-* does not accept CSS variables (#11785)

I see how nesting and Scoped Transitions would work when invoking startViewTransition on the inner `.tabs` component, but not on the outer `.tabs` component. When invoking `$outerTabs.startViewTransition()` the contents from `$innerTabs` would also participate in that transition.

A workaround would be to set all `view-transition-name` values for the `$innerTabs` to `null` upon invoking `$outerTabs.startViewTransition()`. Ideally, there should be a way to automatically limit the reach.

If OK with you I’ll close this issue here and mark it as “Question Answered”, but I’ll also file a new issue about limiting the reach of Scoped Transitions.

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


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

Received on Wednesday, 5 March 2025 08:57:11 UTC