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

Re: [css21] Objection to erratum [Was: Re: NUMBER vs <number>]

From: Tab Atkins Jr. <jackalmage@gmail.com>
Date: Sat, 16 Jun 2012 11:57:45 -0700
Message-ID: <CAAWBYDBV-_jpxjggBnWJYXi73_qKfRR=bkQEraRy+zo1b2Cnaw@mail.gmail.com>
To: Anton Prowse <prowse@moonhenge.net>
Cc: WWW Style <www-style@w3.org>, "Kang-Hao (Kenny) Lu" <kennyluck@csail.mit.edu>, Bert Bos <bert@w3.org>
On Sat, Jun 16, 2012 at 10:40 AM, Anton Prowse <prowse@moonhenge.net> wrote:
> On 16/06/2012 17:45, Tab Atkins Jr. wrote:
>> The proposal is to alter the "num" production to:
>>
>> num     ['+'|'-']?([0-9]+|[0-9]*\.[0-9]+)
>>
>> I don't think any text needs to be altered in CSS2.1, at least not
>> Chapter 4, as it doesn't explicitly talk about DELIM tokens, but
>> rather just optional signs.
>
>
> You don't propose to additionally modify the production for 'term' in G.2,
> as suggested by Kenny?

Sure, if we want to keep appendix G accurate.  In that case, remove
the "unary_operator" production entirely, and amend "term" to:

term
  : NUMBER S* | PERCENTAGE S* | LENGTH S* | EMS S* | EXS S*
  | ANGLE S* | TIME S* | FREQ S*
  | STRING S* | IDENT S* | URI S* | hexcolor | function
  ;

~TJ
Received on Saturday, 16 June 2012 18:58:35 GMT

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