W3C home > Mailing lists > Public > www-dom@w3.org > July to September 2001

Re: clarification of DOM Level 2 Events specification needed

From: Philippe Le Hegaret <plh@w3.org>
Date: Tue, 24 Jul 2001 07:53:57 -0400
Message-ID: <3B5D61D5.F1D40EE8@w3.org>
To: David Flanagan <david@oreilly.com>
Cc: www-dom@w3.org
> Date: Sat, 12 May 2001 14:35:00 -0700
> Message-Id: <200105122135.OAA02014@oxymoron.oreilly.com>
> From: David Flanagan <david@oreilly.com>
> To: www-dom@w3.org
> Subject: clarification of DOM Level 2 Events specification needed
> 
> Section 1.6.5 of the DOM Level 2 Events specification lists the various
> event types defined by the HTMLEvents module, and specifies which HTML
> elements may generate those events.  I believe that some clarifications
> are needed here.
> 
> 1) The wording for the load event is vague.  It implies that it applies
>    to the BODY tag in addition to the FRAMESET and OBJECT tags, but it
>    does not explicitly state that, as it does for the unload event.
>    Also, it is common practice to implement "load" for IMG tags as
>    well.  Was this omitted intentionally or is it an oversight?

"all content within a document" should read "all content within a BODY element"

> 2) The abort event traditionally applies to IMG tags, and the
>    description of this event mentions images, but then says that it
>    applies only to the OBJECT tag.  Shouldn't it also apply to IMG tags?
> 
> 3) The error event traditionally applies to IMG tags, and the
>    description of this event mentions images, but then says it applies
>    to OBJECT tags but not IMG tags. Shouldn't it also apply to IMG tags?

We only used the generic element OBJECT. IMG, APPLET and IAPPLET are not
used in the HTML modules.

> 5) The spec says that the focus and blur event types apply to BUTTON,
>    INPUT, LABEL, SELECT, and TEXTAREA elements.  The HTML 4 transitional
>    DTD also supports these event types on A and AREA tags, however.
>    Were A and AREA intentionally omitted, or was this an oversight?

A and AREA should be added.

Philippe
Received on Tuesday, 24 July 2001 07:53:58 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Friday, 22 June 2012 06:13:49 GMT