W3C home > Mailing lists > Public > www-dom@w3.org > October to December 2000

Re: event capture and bubbling

From: Joseph Kesselman/Watson/IBM <keshlam@us.ibm.com>
Date: Wed, 11 Oct 2000 13:01:55 -0400
To: "John Ky" <hand@syd.speednet.com.au>
Cc: <www-dom@w3.org>
Message-ID: <OFD3C833DC.8815346D-ON85256975.005CC35D@pok.ibm.com>

If Event.bubbles is false, only the Capture,  At-Target, and Default phases
of event distribution are performed. If true, bubbling distribution is
performed as well, between At-Target and Default.

Event _listeners_ are explicitly registered either as capturing (invoked
only during the Capture phase) or non-capturing (At-Target and Bubbling
phases). A single listener may be registered both ways, if desired.

At this time there is no independent ability to suppress the Capture or
At-Target phases. Default can be suppressed by invoking
Event.preventDefault, but I believe that has to be done from a handler
since it gets reset each time the event is dispatched. If you've got a use
case for making this more flexible, please submit it for consideration in
future revisions of DOM Events.

______________________________________
Joe Kesselman  / IBM Research
Received on Wednesday, 11 October 2000 13:02:26 GMT

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