Click moved out of bounds of an element still triggers click event
Categories
(Core :: DOM: UI Events & Focus Handling, defect)
Tracking
()
Tracking | Status | |
---|---|---|
firefox-esr78 | --- | wontfix |
firefox-esr91 | --- | wontfix |
firefox93 | --- | wontfix |
firefox94 | --- | wontfix |
firefox95 | --- | fix-optional |
People
(Reporter: 98zusenko, Unassigned)
References
(Regression, )
Details
(Keywords: parity-chrome, regression)
User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:93.0) Gecko/20100101 Firefox/93.0
Steps to reproduce:
https://jsfiddle.net/ZhenyaUsenko/9bcupayj/3/
Mousedown inside a button, move cursor outside a button, mouseup
Actual results:
Button is pressed
Expected results:
Button should not be pressed
Reporter | ||
Comment 1•3 years ago
|
||
Works as expected in Chrome
Comment 2•3 years ago
|
||
Regression window(str comment#0, i.e. without -moz-)):
https://hg.mozilla.org/integration/autoland/pushloghtml?fromchange=7b90628fa1e7f153e574c07626b6af5378593a45&tochange=d806a12ca46833286baf4c2f320db7d667a28883
Regression window(with -moz- prefix, data:text/html,<style>button{-moz-user-select:unset;user-select:unset;} div{ overflow: hidden;}</style><button type='button'><div>Button</div></button><script>document.querySelector('button').onclick = () => alert('clicked')</script> ):
https://hg.mozilla.org/integration/mozilla-inbound/pushloghtml?fromchange=f6eebcc14c22762f521fb567a9588963b8720592&tochange=61570c16c2d564c24fab36713fb169c4144453e9
Suspect: Bug 1089326
Updated•3 years ago
|
Updated•3 years ago
|
Updated•3 years ago
|
Comment 3•3 years ago
|
||
Set release status flags based on info from the regressing bug 1089326
Updated•3 years ago
|
Description
•