- From: Krzysztof Maczyński via GitHub <sysbot+gh@w3.org>
- Date: Mon, 23 Dec 2024 19:02:25 +0000
- To: public-css-archive@w3.org
I think `@scope (.group:hover) to (.group)` is equivalent to mine, but indeed simpler. Although there are no use cases given here, the case of siblings (or, more generally, a range between two nodes in the styled document selectable in CSS) remains and looks interesting. Some shenanigans with `&` (nesting selector) and some of `:not()`, `:(nth-child)`, ``:nth-last-child()`, the latter two with `of` and a selector (or a list thereof) afterwards, might work, if only `&` (and maybe `:has()`) were allowed there. But it isn't so – all these locations require a `<complex-real-selector-list>`, which is very limited. -- GitHub Notification of comment by ByteEater-pl Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/11309#issuecomment-2560171708 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Monday, 23 December 2024 19:02:26 UTC