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

Re: [css3-values] calc() and whitespaces around '+' and '-' (again)

From: L. David Baron <dbaron@dbaron.org>
Date: Fri, 11 May 2012 23:45:16 +0200
To: "Kang-Hao (Kenny) Lu" <kennyluck@csail.mit.edu>
Cc: WWW Style <www-style@w3.org>
Message-ID: <20120511214516.GA29038@crum.dbaron.org>
On Thursday 2012-05-10 11:37 +0200, L. David Baron wrote:
> I think if we want to change this, we should just change the
> dimension token throughout CSS (rather than making the tokenizer
> context-sensitive, which is a huge pain), so that - is not allowed
> in the unit part of a dimension.

Actually, when I mentioned this to Bert at dinner, he pointed out
that this won't be sufficient if we want to allow identifiers in
calc() in the future.  For example, I think we're likely to want to
put auto or min-content inside calc() in the future.


𝄞   L. David Baron                         http://dbaron.org/   𝄂
𝄢   Mozilla                           http://www.mozilla.org/   𝄂
Received on Friday, 11 May 2012 21:45:52 UTC

This archive was generated by hypermail 2.4.0 : Friday, 25 March 2022 10:08:16 UTC