Re: [csswg-drafts] [css-view-transitions-1] Removing the root element should probably skip the transition synchronously (#12149)

> [@noamr](https://github.com/noamr) but what if you add a new root element and somehow the styles so that there's an animation? Or is your interpretation that since you removed the parent of the view transition pseudo tree (and thus the view transition pseudo-tree itself) then there's no pseudo-tree and thus no animation?

Yea, the pseudo-tree was attached to the old document element [here](https://www.w3.org/TR/css-view-transitions-1/#setup-transition-pseudo-elements) and the new one doesn't have a pseudo-tree and thus no animation, so the view transition would be skipped in the next frame. Is that sufficiently specified?

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


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

Received on Monday, 5 May 2025 19:29:25 UTC