W3C home > Mailing lists > Public > www-style@w3.org > May 2010

[css3-values] whitespace requirement around + and - in calc()

From: L. David Baron <dbaron@dbaron.org>
Date: Sun, 9 May 2010 10:13:06 -0700
To: www-style@w3.org
Message-ID: <20100509171306.GA5970@pickering.dbaron.org>
http://dev.w3.org/csswg/css3-values/#the-calc-min-and-max-functions
no longer has the requirement (which I believe used to be in the
spec, and which I believe the WG agreed on) that there must be
whitespace around the '+' and '-' inside of calc().

(This is needed because '-' is an identifier character in CSS, so
3em-2px tokenizes as a length with number '3' and unit 'em-2px'.)

-David

-- 
L. David Baron                                 http://dbaron.org/
Mozilla Corporation                       http://www.mozilla.com/
Received on Sunday, 9 May 2010 17:13:34 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 17:20:27 GMT