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>
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'.)


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

This archive was generated by hypermail 2.4.0 : Friday, 25 March 2022 10:07:45 UTC