Re: About CSS3 selectors

On Thu, 27 May 2010 17:26:03 +0200, Boris Zbarsky <bzbarsky@mit.edu> wrote:

> On 5/27/10 11:18 AM, Ivan Enderlin @ Hoa wrote:
>> I'm working on CSS3 selectors and I noted that in the selector grammar
>> [1], in the /expression/ rule (from the /functional_pseudo/ rule), there
>> is no comma. Why? A pseudo-function cannot have an arity greather than  
>> 1?
>
> Seems like a bug.  :any() would require a comma-separated list of stuff  
> in here (and the "stuff" wouldn't be "expression" either; it would be a  
> "simple_selector_sequence" or so).

But that's not part of Selectors level 3. The core syntax  
(http://www.w3.org/TR/CSS21/syndata.html#syntax) seems generic enough.

-- 
Øyvind Stenhaug
Core Norway, Opera Software ASA

Received on Thursday, 27 May 2010 15:31:54 UTC