Re: [css3-values] <positive-integer>

Le 08/05/2012 21:22, Boris Zbarsky a écrit :
> On 5/8/12 3:15 PM, Brian Manthos wrote:
>> >  <positive-integer>  = [0-9]+
>     0*[1-9][0-9]*
>
> Similar for negative-integer.

Apparently the grammar is not obvious to get right. Conversely it takes 
time for a reader to "reverse-engineer" it.

Whether or not it appears in the "Value:" line for properties, I think 
that "positive" and such constraints should be defined in terms of 
numerical comparison, not in character-based grammar.

-- 
Simon Sapin

Received on Tuesday, 8 May 2012 19:57:22 UTC