patch: click event handling

Maciej Stachowiak mjs at apple.com
Tue Oct 28 23:23:04 CET 2003


On Oct 28, 2003, at 10:49 PM, David Faure wrote:

> On Tuesday 28 October 2003 23:25, Maciej Stachowiak wrote:
>>
>> Here's a patch to make click handlers added w/ addEventListener work
>> right for form controls.
>
> Thanks, I'll have a look.
>
> Another problem with click event handling: in the branch (so I suppose 
> in Safari too),
> if you click twice, rather slowly, at the very same place, you get the 
> onclick
> listener called only once. This is due to wrong code for detecting 
> click vs dblclick.

I think we detect this based on the Cocoa event's click count, so I 
don't think we have this problem, but I can double-check.

Regards,
Maciej



More information about the Khtml-devel mailing list