This is contrary to the DOM 2 spec which says that "A capturing EventListener will not be triggered by events dispatched directly to the EventTarget upon which it is registered." However, Mozilla invokes capturing event listeners when AT_TARGET and live.com (at least) depends on that so we should do it too
We used to work this way actually, so this is actually a regression from Safari 1.2. I added code back in 1.2 to make sure we did capturing, then a capture at target, then a bubble at target, then bubbling. At some point the capture at the target must have been removed.
Created attachment 8555 [details] Patch
Comment on attachment 8555 [details] Patch I'll dig up the way hyatt implemented it and use that
Created attachment 8557 [details] Better approach
Comment on attachment 8557 [details] Better approach I'm marking this r+ after talking with Anders and Maciej. We want to emulate the Firefox to support live.com. The Firefox bugzilla about this is: https://bugzilla.mozilla.org/show_bug.cgi?id=235441.
Maciej, weren't you guys planning to not do this? This seems wrong.
*** Bug 7205 has been marked as a duplicate of this bug. ***