Welcome to WebHeadStart.org

Web Technologies

Sponsored By

WebHeadStart.org is currently in beta.
Please pardon our appearance as we work to provide you with the most comprehensive reference on today's web technologies.

Interested in advertising on WebHeadStart? Become an advertising partner today!

[WWW-HTML Mailing List Archive Home] [Messages By Thread] [Messages By Date]

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
Valid XHTML 1.0! Valid CSS! Site Map | Privacy Policy | Terms of Use | WebHeadStart.org © 2005 All Rights Reserved.