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

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

From: Kang-Hao (Kenny) Lu <kennyluck@csail.mit.edu>
Date: Sat, 12 May 2012 07:31:07 +0800
Message-ID: <4FADA13B.7080507@csail.mit.edu>
To: "L. David Baron" <dbaron@dbaron.org>
CC: WWW Style <www-style@w3.org>
(12/05/12 5:45), L. David Baron wrote:
> 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.

Why? Unless we want '2min-content', it seems irrelevant. 'min-content'
isn't a DIMENSION. Am I missing something?

Received on Friday, 11 May 2012 23:31:35 UTC

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:38:59 UTC