[css3-conditional] @document grammar

Hi,

The current WD has this grammar for @document:

> url_match_fn
>   : (URI | FUNCTION) S*
>   ;


But in CSS 2.1’s §4.1.1 Tokenization, FUNCTION is a token defined as:

{ident}\(

It does not include the function’s arguments or closing parentheses. The 
grammar should be:

url_match_fn
   : (URI | FUNCTION S* STRING S* ')' ) S*
   ;

-- 
Simon Sapin

Received on Thursday, 20 September 2012 10:33:35 UTC