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

Re: event capture and bubbling

From: John Ky <hand@syd.speednet.com.au>
Date: Thu, 12 Oct 2000 03:06:05 +1000
Message-ID: <004801c033a5$8bc1acc0$0400a8c0@NEWHOGGY>
To: <www-dom@w3.org>
> I understand that some events do not bubble, but is it correct to say that
> ALL events support capture? This seems to be implied by the DOM
> Level 2 Events CR based on the fact that you can ask an Event whether
> it bubbles but you cannot ask an Event whether it can be captured.

I'd actually like to have bubbling and capturing specified as orthogonal
dispatch mechanism such that an event can:

+ capture and bubble
+ capture and not bubble
+ not capture and bubble
+ not capture and not bubble

And also for event listeners to register for these orthogonally.

The last would be ideal for optimising controlled environments.

As I understand, currently capture implies not bubbles and bubbles implies
not capture.

If that is the case, I'm mildy disappointed at that design decision.

Received on Wednesday, 11 October 2000 12:06:56 UTC

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