Re: LABEL behaviour

On Thu, 9 Oct 2003, [KOI8-R]  ԣ wrote:
>
> Now LABEL distribute only Click event
> (http://www.w3.org/TR/html401/interact/forms.html#edef-LABEL), but i see
> no reasons why HTML shouldn't handle mouseOver event.

A label does not "distribute click events", it merely passes focus to its
control when it is focussed. It does not matter exactly _how_ the label is
focussed.


> So, IMHO <label> element should distribute mouseOver and mouseOut events
> to linked object (set by LABEL's "for" atribute to object's "id" value)).

By using HTCs or XBL you could change the implementation of <label>
elements to do this. The HTML spec, however, is probably not the right
specification to change this.

-- 
Ian Hickson                                      )\._.,--....,'``.    fL
U+1047E                                         /,   _.. \   _\  ;`._ ,.
http://index.hixie.ch/                         `._.-(,_..'--(,_..'`-.;.'

Received on Thursday, 9 October 2003 09:20:57 UTC