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

Re: [css3-conditional] @document grammar

From: L. David Baron <dbaron@dbaron.org>
Date: Thu, 20 Sep 2012 12:44:01 -0700
To: Simon Sapin <simon.sapin@kozea.fr>
Cc: "www-style@w3.org" <www-style@w3.org>
Message-ID: <20120920194401.GA9694@crum.dbaron.org>
On Thursday 2012-09-20 12:33 +0200, Simon Sapin wrote:
> 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*
>   ;

Fixed in http://dvcs.w3.org/hg/csswg/rev/37b94dbfec45 .  Thanks.

-David

-- 
𝄞   L. David Baron                         http://dbaron.org/   𝄂
𝄢   Mozilla                           http://www.mozilla.org/   𝄂
Received on Thursday, 20 September 2012 19:44:27 GMT

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