W3C home > Mailing lists > Public > www-style@w3.org > May 2012

Re: [css-variables] allowed syntax of variable values

From: Kang-Hao (Kenny) Lu <kennyluck@csail.mit.edu>
Date: Wed, 30 May 2012 09:01:52 +0800
Message-ID: <4FC57180.7080001@csail.mit.edu>
To: WWW Style <www-style@w3.org>
(12/05/30 8:36), Kang-Hao (Kenny) Lu wrote:
>   | any       : [ IDENT | NUMBER | PERCENTAGE | DIMENSION | STRING
>   |           | DELIM | URI | HASH | UNICODE-RANGE | INCLUDES
>   |           | DASHMATCH | ':' | ']' | ')'
>   |           | FUNCTION S* [ any | unused | ']' | '}' ]* ')'
>   |           |      '(' S* [ any | unused | ']' | '}' ]* ')'
>   |           | BAD_URI  S* [ any | unused | ']' | '}' ]* ')'
>   |           |      '[' S* [ any | unused | ')' | '}' ]* ']'
>   |           ] S*;

Ooops. I was indeed wrong. 'any' shouldn't include ']' and ')' because
it affects things in a parenthesis/bracket pair too . This should read

  | value       : [ any | block | ATKEYWORD S* | ']' | ')'
                  | CDO | CDC ]+;
instead (with ']' ')' removed from "any") .
Received on Wednesday, 30 May 2012 01:02:20 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 17:20:54 GMT