W3C home > Mailing lists > Public > www-style@w3.org > June 2011

Re: [CSS4 Selectors] :has() (was Re: [CSSWG] ... F2F Kyoto]

From: Brad Kemper <brad.kemper@gmail.com>
Date: Sat, 11 Jun 2011 09:25:45 -0700
Message-Id: <83A2C745-697A-41EE-BDDC-320530516C88@gmail.com>
Cc: Alan Gresley <alan@css-class.com>, fantasai <fantasai.lists@inkedblade.net>, John Jansen <John.Jansen@microsoft.com>, "www-style@w3.org" <www-style@w3.org>
To: Brian Kardell <bkardell@gmail.com>


On Jun 11, 2011, at 6:47 AM, Brian Kardell <bkardell@gmail.com> wrote:

> Yes, all of those examples seem intuitive.  Specifying the subject of the selector is something CSS has never done before, but that is what is in CSS SELECTORS LEVEL 4 that originated this.  In there though, your example:
> 
> ul:has(a)
> 
> Would be written, if I understand correctly:
> 
> !ul a
> 
That exclamation point makes me think of "not" also. 
Received on Saturday, 11 June 2011 16:56:22 GMT

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