W3C home > Mailing lists > Public > public-css-archive@w3.org > February 2019

Re: [csswg-drafts] [css-syntax][css-values] Revisiting calc() and whitespace (#3626)

From: Tab Atkins Jr. via GitHub <sysbot+gh@w3.org>
Date: Thu, 07 Feb 2019 22:40:24 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-461622788-1549579223-sysbot+gh@w3.org>
This was discussed in a telcon at <https://lists.w3.org/Archives/Public/www-style/2014May/0056.html>.

Argument for relaxing the whitespace restrictions were that it accords better with author intuition, coming from other languages where `1-1` and `1+1` are valid.

Arguments against are that, while + is doable, we can't remove the whitespace around - without keeping it required in *some* circumstances, or blocking us from ever doing keywords in calc.  Context-sensitivity and blocking are both worse cures than the disease, so we're keeping the whitespace.

Further discussed in a later telcon at <https://lists.w3.org/Archives/Public/www-style/2014Jun/0057.html>, where the group resolved to keep the whitespace rules as-is.

-- 
GitHub Notification of comment by tabatkins
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/3626#issuecomment-461622788 using your GitHub account
Received on Thursday, 7 February 2019 22:40:26 UTC

This archive was generated by hypermail 2.4.0 : Tuesday, 5 July 2022 06:41:43 UTC