W3C home > Mailing lists > Public > www-dom@w3.org > April to June 2009

Re: DOM Level 3 Events

From: Boris Zbarsky <bzbarsky@MIT.EDU>
Date: Mon, 18 May 2009 18:15:16 -0400
Message-ID: <4A11DDF4.2050309@mit.edu>
To: "Emanuele D'Arrigo" <manu3d@gmail.com>
CC: "www-dom@w3.org" <www-dom@w3.org>
Emanuele D'Arrigo wrote:
> I agree with you that's the path I've eventually decided to follow. It 
> should be said however that from an implementation point of view the 
> second method is not entirely infeasible and therein lies the minor 
> ambiguity

I'm not sure what the ambiguity is.  The DOM3 Events drafy clearly says:

   The target's ancestors are determined before the initial dispatch of
   the event. If the target node is removed during the dispatching, or
   a target's ancestor is added or removed, the event propagation will
   always be based on the target node and the target's ancestors
   determined before the dispatch. [1]

DOM2 events has similar wording.

What's ambiguous?

-Boris

[1] 
http://www.w3.org/TR/2003/NOTE-DOM-Level-3-Events-20031107/events.html#Events-phases 
the paragraph right after the "Note" about an SVG version of the image 
immediately above that being available.
Received on Monday, 18 May 2009 22:15:59 GMT

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