You need to
before you can comment on or make changes to this bug.
ondblclick doesn't fire when attached with addEventListener.
Created an attachment (id=7097) [details]
Bah. It turns out that internally we use khtmlDblclick. Likely for some historical reason. That's just wrong, so I'll fix it.
But a work-around for site authors would be to use:
elem.addEventListener('khtmlDblclick', handler, false);
instead. Or just set the elm.dblclick property directly.
Created an attachment (id=7104) [details]
Thanks for the bug, and the great test case!
Looking at the code for the Safari 2.0.3 release branch, it looks like it's not possible there. It was explicitly disallowed for whatever reason.
khtmlDblclick worked on all nighties prior to this fix.
To restate: khtmlDblClick is *not* a valid workarond for 1.3 or 2.0. The only trick I know of working is using a timer to measure the time between two consecutive mouse clicks - if time < 300ms and the target is the same in both cases, I trigger a "virtual" dbl-click. (thanks to Jorge Biaggini for that tip)