W3C home > Mailing lists > Public > www-style@w3.org > January 2010

Re: [css3-selectors] Grouping

From: Brad Kemper <brad.kemper@gmail.com>
Date: Fri, 8 Jan 2010 10:45:34 -0800
Cc: Nikita Popov <privat@ni-po.com>, news <news@terrainformatica.com>, www-style list <www-style@w3.org>
Message-Id: <72B08E28-2855-4FBF-872A-891853387A01@gmail.com>
To: "Tab Atkins Jr." <jackalmage@gmail.com>

On Jan 8, 2010, at 10:39 AM, Tab Atkins Jr. wrote:

>>> The second example isn't nonsense, the :any() just isn't adding
>>> anything to the existing element selector.  The selector will only
>>> match <div>s.
>> 
>> That seems even less obvious.
> 
> Really?  The selector first says it must match a div, and then says
> that it has to be a div or a span.  

OK, if that's what it means. I thought it meant that it had to match 'DIVDIV' or 'DIVSPAN'. I guess it makes sense your way though, when I think about it more, and what it means to pair the pseudo-class with either the universal selector or something else.

Received on Friday, 8 January 2010 18:46:12 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 17:20:23 GMT