- From: Romain Menke via GitHub <sysbot+gh@w3.org>
- Date: Sun, 23 Jan 2022 11:52:24 +0000
- To: public-css-archive@w3.org
@LeaVerou
```pcss
.container {
& .widget {
@nest .container.selected & {
/* FAIL, gets rewritten to .container.selected .container .widget,
not .container.selected .widget */
}
}
}
```
Doesn't that get rewritten to this :
```css
.container.selected :is(.container .widget)
```
Which would actually match this :
```html
<div class="container selected">
<div class="widget">
```
--
GitHub Notification of comment by romainmenke
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/6977#issuecomment-1019468483 using your GitHub account
--
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Sunday, 23 January 2022 11:52:26 UTC