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

Re: Custom DOM events and privileged browser add-ons; Was: Bubbling/Capturing for XHR + other non-DOM objects

From: Bjoern Hoehrmann <derhoermi@gmx.net>
Date: Fri, 02 Jul 2010 14:34:32 +0200
To: "Anne van Kesteren" <annevk@opera.com>
Cc: www-dom@w3.org, public-webapps@w3.org
Message-ID: <ifir26517mc0npdifq12bi7eakadsv2ppe@hive.bjoern.hoehrmann.de>
* Anne van Kesteren wrote:
>You'd have to read it to figure out what the "event flow" is, for instance.

Which is something that is much more likely to stick with you, yes.

>I disagree. Only Node objects have event flow and the Window object  
>interacts with those in a particular way. All other objects do not have an  
>event flow at all. Optimizing for those other objects makes way more sense.

There is always an event flow even if the propagation path contains only
a single EventTarget. Besides, there certainly are other hierachial ob-
jects that are EventTargets but not Nodes, like SVGElementInstances or
various objects in Adobe Flash et al., or entirely custom objects like
you can make them with the implementation in Google's Closure Library.

You'd have a point if nobody ever wondered how the XHR event flow works,
but this isn't the first time questions about that have ended up here.
-- 
Björn Höhrmann · mailto:bjoern@hoehrmann.de · http://bjoern.hoehrmann.de
Am Badedeich 7 · Telefon: +49(0)160/4415681 · http://www.bjoernsworld.de
25899 Dagebüll · PGP Pub. KeyID: 0xA4357E78 · http://www.websitedev.de/ 
Received on Friday, 2 July 2010 12:34:59 GMT

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