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

Re: [css21] NUMBER, PERCENTAGE, DIMENSION tokens and signs

From: Kang-Hao (Kenny) Lu <kennyluck@csail.mit.edu>
Date: Thu, 10 May 2012 16:26:44 +0800
Message-ID: <4FAB7BC4.3010603@csail.mit.edu>
To: "Tab Atkins Jr." <jackalmage@gmail.com>
CC: WWW Style <www-style@w3.org>
(12/04/24 6:13), Tab Atkins Jr. wrote:
> We propose amending the Core Grammar to make the + and - part of the
> "num" production.  This shouldn't have any effect on real pages - we
> highly doubt that any page has actually put a comment between a
> negative sign and the number.

I'd like to note that if we change this but not the grammar for calc(),
it means that calc(1em + -1em) becomes conforming according to the
grammar. Perhaps it isn't a bid deal because the implementations that
ship already (IE9 and Firefox4+) already support this.

But the next question is whether we want to change Selectors 3 as it
explicitly forbids :nth(1n + -1) and the like.

Received on Thursday, 10 May 2012 08:27:18 UTC

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