W3C home > Mailing lists > Public > public-html@w3.org > December 2011

Re: :hover and :active interaction with labels

From: Boris Zbarsky <bzbarsky@MIT.EDU>
Date: Fri, 09 Dec 2011 16:25:46 -0500
Message-ID: <4EE27CDA.2000807@mit.edu>
To: Ian Hickson <ian@hixie.ch>
CC: HTML WG <public-html@w3.org>
On 12/9/11 3:53 PM, Ian Hickson wrote:
> I think it's probably best to just leave this to the // combinator in
> Selectors, as in:
>     label:hover input, label:hover /for/ input { ... }

That doesn't match author expectations, though.  Again, for 
native-themed controls the native-themed hover state is already applied 
when hovering the label.

For what it's worth, Gecko and WebKit also agree on :hover styling now: 
hovering the label puts the input into :hover.

Received on Friday, 9 December 2011 21:26:18 UTC

This archive was generated by hypermail 2.3.1 : Thursday, 29 October 2015 10:16:19 UTC