- From: Brian Manthos <brianman@microsoft.com>
- Date: Tue, 8 May 2012 19:15:05 +0000
- To: CSS 3 W3C Group <www-style@w3.org>
Received on Tuesday, 8 May 2012 19:15:47 UTC
On multiple occasions, I've run into spec concerns related to not indicating directly in the grammar that negative values are not allowed. Shouldn't there be tokens such as <positive-integer> that can be used directly rather than using <integer> and then relying on prose to say zero and negative are invalid? Something like ... <positive-integer> = [0-9]+ <negative-integer> = -[0-9]+ <non-negative-integer> = <positive-integer> | 0 <integer> = <non-negative-integer> | <negative-integer> Similarly for <number>.
Received on Tuesday, 8 May 2012 19:15:47 UTC