W3C home > Mailing lists > Public > www-style@w3.org > January 2010

Re: [css3-selectors] Grouping

From: Nikita Popov <privat@ni-po.com>
Date: Fri, 08 Jan 2010 19:54:28 +0100
Message-ID: <4B477F64.4080402@ni-po.com>
To: "Tab Atkins Jr." <jackalmage@gmail.com>
CC: www-style list <www-style@w3.org>
Am 08.01.2010 19:25, schrieb Tab Atkins Jr.:
>
>   You could avoid that with:
>
> .page form :any(form>  input, label select) {}
>    
Could I?

I think your selector would be resolved in
.page form form > input,
.page form label select
which is different from what I meant with the "> input":
.page form > input,
.page form label select

Actually, the missing space was not a typo, but I thought that
.page form :any(>input, ...)
would be
.page form *:any(>input, ...)
would be
.page form * > input
which wasn't my original intention ( .page form > input)

I think this pseudo-class stuff isn't as easy as it looks with complex 
selectors.
Received on Friday, 8 January 2010 18:54:56 GMT

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