- From: Nikita Popov <privat@ni-po.com>
- Date: Fri, 08 Jan 2010 19:54:28 +0100
- 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 UTC