W3C home > Mailing lists > Public > public-css-archive@w3.org > July 2018

Re: [csswg-drafts] [css-nesting] Conflicts in proposal with Sass/Less

From: Tab Atkins Jr. via GitHub <sysbot+gh@w3.org>
Date: Thu, 19 Jul 2018 21:48:30 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-406424785-1532036909-sysbot+gh@w3.org>
> AFAIK, the Less maintainers do not. man_shrugging

Sure, which is why "argument from authority" wasn't the whole point. ^_^

> That was kind of my point. Echoing the syntax of preprocessors but producing a different outcome is semantically confusing.

Ah, but Nesting doesn't do that. The intersection of Nesting and Sass syntax produces the same result in both (modulo some details of specificity), except when concatenation comes into play. (Because Sass designed their syntax well, not because of any concerted effort at matching them from me.) If you're ignoring concatenation, then I'm unsure what your objection is.

And if this *is* your concern, then your proposal also fails your criteria, because its intersecting syntax (in particular, stuff like `.foo { :hover {...}}`) is interpreted differently than the preprocessors.

-- 
GitHub Notification of comment by tabatkins
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/2937#issuecomment-406424785 using your GitHub account
Received on Thursday, 19 July 2018 21:48:33 UTC

This archive was generated by hypermail 2.4.0 : Tuesday, 19 October 2021 01:30:53 UTC