Re: :hover and :active interaction with labels

On Fri, 9 Dec 2011, Boris Zbarsky wrote:
> 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.

Can't that be explained by native styling rules? Or indeed, styling rules 
in the binding?


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

Hmm. I guess we can spec it that way too, but that seems a bit awkward 
(not to mention technically not being consistent with Selectors' 
definitions...).

-- 
Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'

Received on Wednesday, 14 December 2011 23:30:05 UTC