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

[css3-conditional] @document grammar

From: Simon Sapin <simon.sapin@kozea.fr>
Date: Thu, 20 Sep 2012 12:33:12 +0200
Message-ID: <505AF0E8.1020308@kozea.fr>
To: "www-style@w3.org" <www-style@w3.org>
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 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 17:21:00 GMT