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

> Maybe I am alone in thinking that the more verbose syntax of the current draft is actually a good feature :)

But you could still be that verbose if you want to. You could still proceed each rule with an `&`. You just wouldn't need `@nest` at the beginning of the ones with an `&` somewhere else in the rule, unless it was the first rule after any declarations. 

And actually, you could still write @nest multiple times and in multiple places between rules if you wanted to (switching to a mode you are already in). So I don't see why you couldn't write it in the previous sustains if you wanted, and it should still parse the same, I think. 

This also means you could write the rules in a SASS compatible way. 

-- 
GitHub Notification of comment by bradkemper
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/7834#issuecomment-1269351536 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 05:42:27 UTC