Click moved out of bounds of a button does not trigger click at all
Categories
(Core :: DOM: UI Events & Focus Handling, defect)
Tracking
()
People
(Reporter: 98zusenko, Unassigned)
References
(
URL
)
Details
(Keywords: parity-chrome)
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/rxbajon8/6/
Mousedown inside a button, move cursor outside a button, mouseup
Actual results:
No click event on window
Expected results:
If the button is pressed on one element and the pointer is moved outside the element before the button is released, the event is fired on the most specific ancestor element that contained both elements
https://developer.mozilla.org/en-US/docs/Web/API/Element/click_event
There should be click event on body, window, etc.
| Reporter | ||
Comment 1•5 years ago
|
||
Works as expected in Chrome
Comment 2•5 years ago
|
||
The Bugbug bot thinks this bug should belong to the 'Core::DOM: UI Events & Focus Handling' component, and is moving the bug to that component. Please revert this change in case you think the bot is wrong.
Comment 3•5 years ago
|
||
I wonder if this is also a regression of bug 1089326 (like bug 1736515).
Hi Alice, could you help try to find a regression window? Thank!
Comment 4•5 years ago
|
||
This is reproduced in all version of Firefox(1.0-95.0a1) Windows10.
Description
•