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

> …in option 1, you have to learn when to use or not use https://github.com/nest
> …in option 3, you have to learn when to use ampersands with a descendant

In option 3 you also have to learn when and how to fix `.foo { bar & {} }` as I stated above : https://github.com/w3c/csswg-drafts/issues/7834#issuecomment-1283489362

Doing option 3 as an evolution of option 1 doesn't have this issue and still gives us relative selector syntax and the copy-paste benefits that come with that.

Also see : https://github.com/w3c/csswg-drafts/issues/7854


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


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

Received on Wednesday, 19 October 2022 17:10:04 UTC