W3C home > Mailing lists > Public > www-style@w3.org > February 2012

Re: :hover and :active interaction with labels

From: Boris Zbarsky <bzbarsky@MIT.EDU>
Date: Wed, 01 Feb 2012 08:21:27 -0500
Message-ID: <4F293C57.6000509@mit.edu>
To: www-style@w3.org
On 2/1/12 5:06 AM, fantasai wrote:
> Technically, yes, but I think it's a bit out of scope for Selectors to
> specify HTML-element-specific behavior. Is it very specific to :hover?

This behavior is specific to :hover and :active, which happen to be the 
two pseudo-classes that apply to all ancestors of the thing being 
hovered or activated.

> What about other user actions? Do they transfer through <label> to its
> control? E.g. focus or clicking or drag'n'dropping?

Clicking a label triggers a click on its control.

-Boris
Received on Wednesday, 1 February 2012 13:21:55 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 17:20:50 GMT