W3C home > Mailing lists > Public > www-dom@w3.org > January to March 2003

Clarification on EventTarget removal for DOM Events

From: Alexander J. Vincent <ajvincent@hotmail.com>
Date: Fri, 31 Jan 2003 08:40:21 -0800
To: www-dom@w3.org
Message-ID: <F804x1vbE0BPnMR3cBK00004e83@hotmail.com>

I've noticed an issue regarding DOM Events, Levels 2 and 3, which is not 
clear in the specifications.

For event capturing and bubbling, if the actual target (or an ancestor node 
of the actual target) is removed or replaced, the specs do not state the 
correct behavior of the Event object.  I'd like a clarification on whether 
the Event object should continue to propagate, should bubble later, should 
throw a strict warning or DOM exception, etc.

I have a bug filed at mozilla.org's Bugzilla 
(http://bugzilla.mozilla.org/show_bug.cgi?id=191242 ) to resolve the issue 
in Mozilla.  The bug has two testcases you can reach via link -- one in XUL 
(you will need a Gecko-based browser such as Mozilla or K-Meleon to see it), 
and one in XHTML.  Both testcases use ECMAScript to access the DOM.

Very respectfully,

Alexander J. Vincent
author, JavaScript Developer's Dictionary (Sams Publishing)
moderator, XML forum @ codingforums.com
Vallejo, CA

Tired of spam? Get advanced junk mail protection with MSN 8. 
Received on Friday, 31 January 2003 11:40:53 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 20 October 2015 10:46:11 UTC