- From: Noam Rosenthal via GitHub <noreply@w3.org>
- Date: Thu, 11 Dec 2025 16:14:01 +0000
- To: public-css-archive@w3.org
> Yeah, I think we can get that explained properly to authors: _“To 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. I don't think that's necessary, since the document clips things by default. This feels to me like a "scoped view transitions" feature to make the scoped root behave a bit more like the document in terms of clipping. -- GitHub Notification of comment by noamr Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/12324#issuecomment-3642674963 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 16:14:01 UTC