- From: Brad Kemper <brad.kemper@gmail.com>
- Date: Fri, 8 Jan 2010 15:20:11 -0800
- 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 UTC