- From: Steve Orvell via GitHub <noreply@w3.org>
- Date: Fri, 24 Oct 2025 00:04:50 +0000
- To: public-css-archive@w3.org
Maybe this could be integrated with `part`, just as a convenient way to decorate the tree?
```html
<style>
.host .nope { /* no match */ }
.host .content > .stuff { /* match! */ }
</style>
<div class="host">
<template shadowrootmode="open" shadowrootstyleableparts="content">
<section class="nope">normal style encapsulation</section>
<section part="content" class="fancy">
<div class="stuff">stuff</div>
</section>
</template>
</div>
```
--
GitHub Notification of comment by sorvell
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/10939#issuecomment-3439951257 using your GitHub account
--
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Friday, 24 October 2025 00:04:51 UTC