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

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