Re: [css3-selectors] Grouping

On Jan 8, 2010, at 2:32 PM, fantasai <fantasai.lists@inkedblade.net>  
wrote:

>> I really like the idea in general, but I'm not sure about it being a
>> pseudo-class.
>
> Consider that it's the opposite of :not().
>
>  div:not(.header, .footer) /* div that is neither .header  
> nor .footer */
>
>  div:any(.header, .footer) /* div that is either .header or .footer */
>
> As Tab noted, most earlier proposals used :matches()
>
>  div:matches(.header, .footer)

Yeah, a light came on and I understood, after subsequent mails. I  
think the name of the thing ("any") and the original post about  
grouping was coloring my expectations and throwing me off. 

Received on Friday, 8 January 2010 23:21:02 UTC