W3C home > Mailing lists > Public > www-html@w3.org > October 2003

Re: LABEL behaviour

From: Ian Hickson <ian@hixie.ch>
Date: Thu, 9 Oct 2003 13:19:33 +0000 (UTC)
To: Скорецкий Артём <a.skorecki@taom.ru>
Cc: "www-html@w3.org" <www-html@w3.org>
Message-ID: <Pine.LNX.4.58.0310091316590.26216@dhalsim.dreamhost.com>

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 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 27 March 2012 18:15:58 GMT