Re: :hover and :active interaction with labels

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.

-Boris

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