Re: [css3-syntax] Tokenizing expressions. {Was: Re: [css3-values] calc(), whitespace, and DIMENSION tokens}

Andrei Polushin wrote:
>   4.5. In addition, the {ident} that designates the measurement unit
>        of the DIMENSION token, may not contain a MINUS SIGN, unless
>        that {ident} itself starts with a MINUS SIGN, as described
>        by [1]. Such {ident} is split around that MINUS SIGN symbol.
>        Example:
>           DIMENSION(3cm-2cm) => DIMENSION(3cm) '-' DIMENSION(2cm)
>           DIMENSION(3-x-parsec) => DIMENSION(3-x-parsec)

First example is irrelevant. Replace it by:

             DIMENSION(3cm-max) => DIMENSION(3cm) '-' IDENT(max)
             DIMENSION(3-x-parsec) => DIMENSION(3-x-parsec)

Andrei Polushin

Received on Tuesday, 18 March 2008 03:21:43 UTC