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

Re: :hover and :active interaction with labels

From: Tab Atkins Jr. <jackalmage@gmail.com>
Date: Thu, 7 Jun 2012 14:17:51 -0700
Message-ID: <CAAWBYDDinuSX7oRf35yJQephN7S+zrjmNh-npHiWQGPD10qc8g@mail.gmail.com>
To: Ian Hickson <ian@hixie.ch>
Cc: www-style@w3.org
On Thu, Jun 7, 2012 at 1:55 PM, Ian Hickson <ian@hixie.ch> wrote:
> fantasai wrote (quoting me):
>>
>> > ...it seems :hover should be defined, at least for HTML's purposes, as
>> > working as follows:
>> >
>> > : An element matches :hover if:
>> > :
>> > : - It is designated by a pointing device, or
>> > : - Any of its descendants are designated by a pointing device, or
>> > : - It is the "labeled control" of a<label> element that matches :hover.
>> >
>> > Like Boris, I don't mind where this is specced, but we should spec it
>> > somewhere. Is the Selectors spec able to spec this?
>> 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?
>
>
> It's very specific to :hover, yes; there is also a click-related issue but
> that's already specced. I can spec the :hover bit it in HTML if you think
> that would be more appropriate; I don't mind either way. Should I?

Yes, that would be great.  Do you need an anchor in Selectors to link to?

~TJ
Received on Thursday, 7 June 2012 21:18:40 GMT

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