- From: L. David Baron via GitHub <sysbot+gh@w3.org>
- Date: Wed, 04 Sep 2024 14:21:36 +0000
- To: public-css-archive@w3.org
Based on this test:
```html
<!DOCTYPE HTML>
<style>
#host {
padding: 3px;
width: fit-content;
}
#host::part(p):hover {
color: green;
}
:hover {
#host& {
background: aqua;
}
#host::part(p)& {
background: lime;
}
}
</style>
<div id="host">
</div>
<script>
let shadow = document.getElementById("host").attachShadow({mode: "open"});
shadow.innerHTML = `<div part="p">this is the part, hover me</div>`;
</script>
```
this currently doesn't work in any of Chromium, Gecko, or WebKit.
--
GitHub Notification of comment by dbaron
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/10788#issuecomment-2329205626 using your GitHub account
--
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Wednesday, 4 September 2024 14:21:37 UTC