Re: :hover and :active interaction with labels

On Thu, 7 Jun 2012, Tab Atkins Jr. wrote:
> 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?

Nah, I'll just add it here:

   http://www.whatwg.org/specs/web-apps/current-work/#pseudo-classes

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

Received on Thursday, 7 June 2012 22:45:22 UTC