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

Re: :hover and :active interaction with labels

From: Ian Hickson <ian@hixie.ch>
Date: Wed, 14 Dec 2011 23:29:39 +0000 (UTC)
To: Boris Zbarsky <bzbarsky@MIT.EDU>
cc: HTML WG <public-html@w3.org>
Message-ID: <Pine.LNX.4.64.1112142328310.18028@ps20323.dreamhostps.com>
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

This archive was generated by hypermail 2.3.1 : Monday, 29 September 2014 09:39:28 UTC