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

Re: [css4-selectors] Focused descendant pseudo class

From: Lea Verou <leaverou@gmail.com>
Date: Wed, 25 Jan 2012 22:47:17 +0200
Message-ID: <4F206A55.9050803@gmail.com>
To: lists@NOVALISTIC.com
CC: Rudolph Gottesheim <r.gottesheim@loot.at>, www-style@w3.org
On 25/1/12 22:33, Daniel Tan/BoltClock wrote:
> I don't think that's what he meant.
>
> The way I see it, he's asking to apply the style to the submit input if
> any of the form's descendants have focus. What your rule is doing is
> applying the style to the form if the submit input has focus.
>

Ah, right, I somehow missed the description.
Yes, what he is suggesting is a very common use case and as far as I can 
see, doesn't seem to be addressed in Selectors 4 in any way.

-- 
Lea Verou (http://lea.verou.me | @LeaVerou)
Received on Wednesday, 25 January 2012 20:47:48 GMT

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