document.onclick firing twice

Atom RSS

This site heavily relies on bug reports created by its readers. Anyone can report a bug and be published.

Main navigation:




Search reports by browser:

When you define a document.onclick before the page has loaded completely and you use the Netscape 4-required captureEvents method, Mozilla fires the event handler twice on every click. This is apparently a very old bug.

Test page. Workaround is not included.
Reported by Matthieu Haller.

Mozilla | Reported on 28 October 2004.

Comments

(Add your own)

Post a comment

Commenting guidelines:

  1. When quoting specs, articles or your own research, please include a URL of the document.
  2. Test your stuff. When reporting browser behaviour, make sure that your report is correct.

Yes