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:
- this is OK,
root is just like everything else
root is never a containing group
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 })