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

(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 UTC