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

Re: :hover and :active interaction with labels

From: Ian Hickson <ian@hixie.ch>
Date: Thu, 7 Jun 2012 13:55:32 -0700
Message-ID: <CAP2znobsQjsn0A_n+ygjh+yR9W3+Cp0yVwmhnT7fs2TbrJf+_Q@mail.gmail.com>
To: www-style@w3.org
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?

-- 
Ian Hickson
Received on Thursday, 7 June 2012 20:56:01 GMT

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