Re: [csswg-drafts] [css-nesting-1] Syntax Invites Errors (#7834)

> > How about we instead allow "post-nesting"?
> 
> Non-nested nesting means we can't nest two levels deep in an unambiguous way.

I don't see why?

```css
article {
    color: gray;
}
@nest {
    h1 { color: black; font-weight: bold; }
    @nest {
        b { font-weight: 900; }
    }
    h2 { color: black; }
}
```
===
```css
article { color: gray; }
article h1 { color: black; font-weight: bold; }
article h1 b { font-weight: 900; }
article h2 { color: black; }
```

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


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

Received on Thursday, 13 October 2022 11:11:30 UTC