Closed
Bug 1229563
Opened 9 years ago
Closed 9 years ago
mouseup event is not fired when button other than LMB is released outside of window
Categories
(Core :: DOM: Events, defect)
Tracking
()
RESOLVED
DUPLICATE
of bug 136027
People
(Reporter: tobias.oelgarte, Unassigned)
Details
User Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:42.0) Gecko/20100101 Firefox/42.0 Build ID: 20151030085151 Steps to reproduce: Given the following code snippet: document.documentElement.addEventListener('mousedown', function (event) { console.log('mouse down'); }, true); document.documentElement.addEventListener('mouseup', function (event) { console.log('mouse up'); }, true); Actual results: I only get a mouseup event for the left mouse button, but not for middle or right mouse button, if the mouse buttons are released outside the window. Expected results: The mouseup event should be fired for all other buttons as well. Tested this under Ubuntu and Windows XP (yes the dinosaur, but should also apply to other windows versions).
Updated•9 years ago
|
Status: UNCONFIRMED → RESOLVED
Closed: 9 years ago
Component: Untriaged → DOM: Events
Product: Firefox → Core
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•