Re: Why dispatching mousedown works but click doesn't?
Boris Zbarsky <[email protected]> Wed, 03 Aug 2011 09:27:35 -0400
| Newsgroups | gmane.comp.mozilla.devel.embedding |
|---|---|
| Message-ID | <[email protected]> |
On 8/3/11 7:51 AM, legrass wrote: > I thought that the click event > always involves a mousedown as first event. Clicking with the mouse always involves a mousedown before the click. But if you're dispatching synthetic clicks, then you can easily dispatch a click with no preceding mousedown, just like you can dispatch a naked mouseup. -Boris