Re: [csswg-drafts] [css-nesting] How to resolve nested CSS with pseudo elements in the parent (#7433)

> > Perhaps we can just change how selectors get rewritten?
> 
> Can you clarify?

E.g.

```pcss
.a, .b::before {
 .c > & {
  color: black
 }
}
```

could be rewritten as:

```css
.c > .a,
.c > .b::before {
 color: black
}
```



-- 
GitHub Notification of comment by LeaVerou
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/7433#issuecomment-1287136059 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Friday, 21 October 2022 15:39:35 UTC