Re: :hover and :active interaction with labels

01.02.2012, 03:55, "Ian Hickson" <ian@hixie.ch>:
> On Wed, 14 Dec 2011, Boris Zbarsky wrote:
>
>> šOn 12/14/11 6:29 PM, Ian Hickson wrote:
>>> šCan't that be explained by native styling rules? Or indeed, styling rules
>>> šin the binding?
>> šI don't quite see how.
>>> š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...).
>> šI don't much care which spec this is handled in.
>
> Upon further investigation, I agree with your assertion that this has to
> be part of :hover's definition.
>
> Specifically:
>
> šššhttp://software.hixie.ch/utilities/js/live-dom-viewer/saved/1315
> šššhttp://software.hixie.ch/utilities/js/live-dom-viewer/saved/1316
> šššhttp://software.hixie.ch/utilities/js/live-dom-viewer/saved/1317
>
> ...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?
>
> --
> Ian Hickson ššššššššššššššU+1047E ššššššššššššššš)\._.,--....,'``. šššfL
> http://ln.hixie.ch/ ššššššU+263A ššššššššššššššš/, šš_.. \ šš_\ š;`._ ,.
> Things that are impossible just take longer. šš`._.-(,_..'--(,_..'`-.;.'

Just humble thoughts: maybe this is about DOM events (e.g. mouseover, click) and therefore should be part of DOM spec.

Received on Wednesday, 1 February 2012 11:29:42 UTC