Re: [csswg-drafts] [css-view-transitions-2] [scoped] Clarify the ::v-t box and stacking context position relative to the scope (#12324)

Yeah, I think we can get that explained properly to authors: _“Ro make sure `view-transition-group: contain` on the vt-root has an effect, we need to ensure a proper pseudo-tree, so we generate a `::v-t-g(-ua-root)` and `::v-t-g-c(-ua-root)` in that case.”_

Two follow-up questions:

- Is it `::v-t-g(-ua-root)` animated based on the old and new dimensions? _(I don’t think it should. The pseudo should immeidately take up the full size of the new element’s state, as it is that what you are looking at)_
- Should we do something similar for `document.startViewTransition`? As in: if there is a `view-transition-group: contain` declared on the root (be it document root, or scoped root), then we do this pseudo-tree fixup thing.

This can be food for two separate follow-up issues, separate to this issue.

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


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

Received on Thursday, 11 December 2025 15:42:18 UTC