W3C home > Mailing lists > Public > www-style@w3.org > March 2008

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

From: Andrei Polushin <polushin@gmail.com>
Date: Tue, 18 Mar 2008 09:21:08 +0600
Message-ID: <47DF3524.3010008@gmail.com>
To: www-style@w3.org

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:

          Example:
             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 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 27 April 2009 13:55:02 GMT