Re: [csswg-drafts] [css-nesting] Choose Nesting syntax — Option 3, 4 or 5? (#8248)

Mandatory `&` wouldn't be useless, it would bring clarity to authors writing or reading CSS. E.g. a nested `::before` can be misunderstood as `&::before` or `& ::before`, but it's clear with the `&`.

Personally I plan to always use `&`, and use linting to enforce it if the spec says it's optional. So I prefer a mandatory `&`.

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


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

Received on Thursday, 22 December 2022 23:20:09 UTC