- From: Emilio Cobos Álvarez via GitHub <sysbot+gh@w3.org>
- Date: Tue, 25 Feb 2025 11:15:45 +0000
- To: public-css-archive@w3.org
emilio has just created a new issue for https://github.com/w3c/csswg-drafts:
== [css-view-transitions] Rendering consolidation section should special-case root element ==
https://drafts.csswg.org/css-view-transitions-1/#named-and-transitioning has:
> Elements captured in a view transition during a view transition or whose view-transition-name computed value is not none (at any time):
> * Form a stacking context.
> * Are flattened in 3D transforms.
> * Form a backdrop root.
Interpreted literally, it means that the root element box would become a stacking context _always_ (via `:root { view-transition-name: root }` in the UA sheet). That seems unintended and doesn't match implementations.
My understanding is that the root element is "special" and gets propagated to the whole snapshot-containing-block rect / doesn't need its own stacking context.
The spec should reflect that, unless I'm missing something?
cc @chrishtr @noamr @nt1m @vmpstr
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/11772 using your GitHub account
--
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Tuesday, 25 February 2025 11:15:47 UTC