- From: mantou via GitHub <noreply@w3.org>
- Date: Thu, 05 Jun 2025 03:39:05 +0000
- To: public-css-archive@w3.org
Currently all browsers support nesting with `:host`, e.g: [chrome](https://issues.chromium.org/issues/40266948)
What I care more about is how to use nested in `:host()`
Swap `:scope` and `:host()`, let the same css work in shadow dom and light dom:
```css
/** shadow dom */
@scope(:host(*)) {
:scope {
...
}
}
/** light dom */
:scope {
...
}
```
--
GitHub Notification of comment by mantou132
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/9496#issuecomment-2942634310 using your GitHub account
--
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Thursday, 5 June 2025 03:39:06 UTC