- From: Noam Rosenthal via GitHub <noreply@w3.org>
- Date: Wed, 03 Sep 2025 18:44:11 +0000
- To: public-css-archive@w3.org
From internal sync:
We should, as much as possible, treat the relationship between the real element and the new pseudo-element's contents (the replaced-element part of `::view-transition-new`) as if it was equivalent/similar to shadow-DOM slotting; as if the view-transition pseudo-tree was generating a shadow-tree, and the element was slotted into it as the new element contents.
It should behave as close as possible to this illustration:
```html
<html>
<body>
<...>
<div style="view-transition-name: el" slot="el-active-contents">...</div>
<::view-transition>
<...>
<::view-transition-new(el)>
<slot name="el-active-contents">...</slot>
</>
</html>
```
It needs some research as to exactly how this should work in practice, but that should be the existing model for the relationship between the element and the pseudo.
--
GitHub Notification of comment by noamr
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/10930#issuecomment-3250360167 using your GitHub account
--
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Wednesday, 3 September 2025 18:44:11 UTC