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

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 UTC