- From: L. David Baron via GitHub <sysbot+gh@w3.org>
- Date: Tue, 27 Aug 2024 01:11:59 +0000
- To: public-css-archive@w3.org
dbaron has just created a new issue for https://github.com/w3c/csswg-drafts: == [css-shadow-parts][css-nesting] is & allowed after ::part() == I don't think it's clear whether [the `&` selector](https://drafts.csswg.org/css-nesting-1/#nest-selector) is allowed after [the `::part()` pseudo-element](https://drafts.csswg.org/css-shadow-parts-1/#part). At least, I read what I think are the relevant specs and I couldn't find any wording that gives me a clear answer. For example, is the following CSS: ```css :hover { ::part(mypart)& { text-decoration: underline; } } ``` equivalent to: ```css ::part(mypart):hover { text-decoration: underline; } ``` or is it invalid? Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/10788 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Tuesday, 27 August 2024 01:12:00 UTC