- From: Rune Lillesveen via GitHub <noreply@w3.org>
- Date: Wed, 13 Aug 2025 08:14:24 +0000
- To: public-css-archive@w3.org
I'm also skeptical to re-using `<slot>`. Even if you introduce a new attribute, for instance `pseudo`, there is an interaction issue with shadow dom slotting if the pseudo element is in a shadow tree:
```html
<div id="host">
<template shadowrootmode="open">
<menu>
<slot pseudo="::before"></slot> <!-- Is this the default slot for the <div>Slotted</div> below? -->
</menu>
</template>
<div>Slotted</div>
</div>
```
--
GitHub Notification of comment by lilles
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/12575#issuecomment-3182689107 using your GitHub account
--
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Wednesday, 13 August 2025 08:14:25 UTC