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

> Also reading a lot of statements on Twitter that this change would allow you to copy/paste from Sass. But that would not be true as I understand it.

This is orthogonal to nesting syntax, and is true regardless of how the nested rules are specified. 

I think what people on Twitter are rejoicing about is that this makes it *easier* to migrate from Sass. The edits required are now O(N) on the number of rules with children, not O(M) on the (much larger) number of descendant rules, and in practice even fewer as often the first nested rule starts with `&` anyway (see [my earlier comment](https://github.com/w3c/csswg-drafts/issues/7834#issuecomment-1269065753)).

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


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

Received on Thursday, 6 October 2022 14:45:24 UTC