Re: [css-syntax] <an+b> grammar

"Tab Atkins Jr." <> a écrit :
> I'll note, though, that this is now technically *slightly* more
permissive than the original grammar: if you use any of the "+n" forms, whitespace is now allowed between the "+" and the "n", while it
was illegal originally.  I couldn't wipe that out without abandoning property grammar entirely, since property grammar is entirely agnostico whitespace between tokens.

Why? Can't we have property-like grammars that are not agnostic to white space? It seems to me that we're gonna need this for calc(), @supports and Selectors at least.

(Other than this, this definition of an+b looks correct now.)

Simon Sapin

Received on Tuesday, 14 May 2013 22:13:34 UTC