Re: [csswg-drafts] [css-nesting] Syntax suggestion (#4748)

@proimage 

That's basically my suggestion from https://github.com/w3c/csswg-drafts/issues/4748#issuecomment-930472123 except it also includes an unneeded `@nestEnd` token (which is not needed if you can't intersperse nested selectors with declarations).

@nightpool
Selectors that don't start with `&` are pretty common, though it gets weird with multiple nesting levels:

```css
.foo {
 .bar & { /* Ok, .bar .foo */
  .baz & { /* .baz .bar .foo ? How do we do .foo .baz .bar? */
  }
 }
}
```

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


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

Received on Wednesday, 10 November 2021 16:22:52 UTC