Re: [csswg-drafts] [css-nesting] Make @nest default to descendant when no & is present (#5738)

> I prefer the explicit syntax `@nest & .bar`. I think `@nest .bar` would cause confusion (did it mean `.foo.bar`, `.foo > .bar` or `.foo .bar`?)

That might have been a good argument if this was a theoretical discussion, but we've seen how this default nesting plays out in preprocessors and nobody gets confused.

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


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

Received on Friday, 20 November 2020 21:14:32 UTC