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. 
http://join.msn.com/?page=features/junkmail
Received on Friday, 31 January 2003 11:40:53 GMT

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