Re: [csswg-drafts] [css-nesting-1] nesting limited to conditional styling of the current element (another proposal) (#8166)

I strongly disagree that your Category 4 is just "lax syntax in preprocessors". The underlying reason for Nesting to exist is to reduce repetition. Whether this repetition exists because you're repeatedly styling the same element with different more specific things, or styling descendants of the element, or styling siblings and other things, is irrelevant; they're all addressed exactly equally by Nesting, and that's a strength of the feature.

Losing those other categories would be a huge limitation and render the feature much less attractive.

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


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

Received on Thursday, 1 December 2022 21:34:24 UTC