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

Re: [css3-values] valid rationale for not allowing spaces around '+' and '-' to be dropped

From: Brad Kemper <brad.kemper@gmail.com>
Date: Thu, 5 Jul 2012 07:17:38 -0700
Message-Id: <2093A4B0-C849-4ADA-A953-BE22A64559C3@gmail.com>
Cc: "Tab Atkins Jr." <jackalmage@gmail.com>, WWW Style <www-style@w3.org>
To: "Kang-Hao (Kenny) Lu" <kennyluck@csail.mit.edu>
On Jul 5, 2012, at 1:51 AM, "Kang-Hao (Kenny) Lu" <kennyluck@csail.mit.edu> wrote:

> I disagree, but fine. I just hope the working group states the rationale
> in a more understandable way, such as
> 
>  "We (might want/are likely) to add the ability to use keywords in
> calc(), in order not to make people get acquainted to omitting spaces
> around '-' and hence produce invalid value like
> 'calc(auto-min-content)', we force authors to always put spaces around
> '+' and '-'."

Hmm. Seems to me only one space is needed for disambiguation. I'd prefer to make the space after the sign optional, so that one could think of it as either subtracting a positive value or making a positive value negative. 
Received on Thursday, 5 July 2012 14:18:10 GMT

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