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 15:20:11 -0800
Message-Id: <7CBF2773-9BC0-4D5D-BB95-BE85BF901447@gmail.com>
To: fantasai <fantasai.lists@inkedblade.net>
Cc: "Tab Atkins Jr." <jackalmage@gmail.com>, Nikita Popov <privat@ni-po.com>, news <news@terrainformatica.com>, www-style list <www-style@w3.org>


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 GMT

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