Join the Mozilla’s Test Days event from 9–15 Jan to test the new Firefox address bar on Firefox Beta 135 and get a chance to win Mozilla swag vouchers! 🎁

Mozilla サポートの検索

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

詳しく学ぶ

このスレッドはアーカイブに保管されました。 必要であれば新たに質問してください。

onclick event doesn't fire when targets of mousedown and mouseup events differ (but both are inside of element with onclick handler)

  • 1 件の返信
  • 1 人がこの問題に困っています
  • 5 回表示
  • 最後の返信者: Medes

more options

You can check this issue here: https://jsfiddle.net/wt98ukw7/3/ onclick event fires only on upper half of div2, because in this case target of mousedown and mouseup events is div2. But if you click on bottom half of div2, target of mousedown event is div2 and target of mouseup is div1. I think it's a bug and it should be fixed.

You can check this issue here: https://jsfiddle.net/wt98ukw7/3/ onclick event fires only on upper half of div2, because in this case target of mousedown and mouseup events is div2. But if you click on bottom half of div2, target of mousedown event is div2 and target of mouseup is div1. I think it's a bug and it should be fixed.

すべての返信 (1)

more options

I found corresponding bug in bugzilla - https://bugzilla.mozilla.org/show_bug.cgi?id=1004895

Can I vote for importance of this issue?