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

noamr has just created a new issue for https://github.com/w3c/csswg-drafts:

== [css-view-transitions-2] `view-transition-group` and the root element ==
According to the resolution of #10334, it's possible to specify a custom ident as the `view-transition-group`, or e.g. `nearest`.
When the root element has a `view-transition-name` (which is `root` by default), `nearest` or `view-transition-group: root` might make it so that the root group would be the container instead of the global `::view-transition`. This could often be unintended and not necessarily desired.

Alternatives:
1. this is OK, `root` is just like everything else
2. `root` is never a containing group
3. `nearest` doesn't apply to the tree root, but it can be explicitly targeted (`view-transition-group: root`) or use contain
(e.g. `::root { view-transition-group: contain }`)

Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/10632 using your GitHub account


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

Received on Friday, 26 July 2024 16:41:27 UTC