Re: [css4-selectors] Focused descendant pseudo class

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 UTC