- From: Jake Archibald via GitHub <sysbot+gh@w3.org>
- Date: Thu, 16 May 2024 09:51:09 +0000
- To: public-css-archive@w3.org
@khushalsagar @vmpstr
> FWIW, I prefer keeping the old dom structure.
I don't think I fully understand what's being proposed here.
In this example:
```html
<div class="container-1">
<div class="card" style="view-transition-name: card-1"></div>
<div class="card" style="view-transition-name: card-2"></div>
<div class="card" style="view-transition-name: card-3"></div>
<div class="card" style="view-transition-name: card-4"></div>
</div>
<div class="container-2"></div>
```
And the CSS for the transition:
```css
.container-1 {
view-transition-name: container-1;
view-transition-tree: preserve;
}
html::view-transition-group(container-1) {
overflow: clip;
}
```
If `card-1` is moved to `container-2`, where will `::view-transition-group(card-1)` be nested?
--
GitHub Notification of comment by jakearchibald
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/10334#issuecomment-2114735413 using your GitHub account
--
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Thursday, 16 May 2024 09:51:10 UTC