Re: [css3-selectors] Grouping

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 UTC