Re: [csswg-drafts] [css-view-transitions-2] `view-transition-group` and the root element (#10632)

> I'm thinking that in most cases nesting to root would be somewhat unexpected and redundant, because the root element clips the ::view-transition element anyway, so it's a bit of a double-clip.

I didn't follow this. `::view-transition-group(root)` is a child of `::view-transition`.

[container transform](https://m2.material.io/design/motion/the-motion-system.html#container-transform) is a good example of where this would be helpful. It's an element -> root transition. If you want all children of the root to be clipped by it, you'd want to place them underneath the `::view-transition-group(root)` pseudo.

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


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

Received on Monday, 29 July 2024 21:55:13 UTC