Created attachment 51403 [details] bug demo (press mouse button inside div, move mouse outside and release mouse button)
This is by design. We use mouse capture to allow an area which uses a mousedown to continue to get mousemoves and mouseups to allow it to implement drag-drop actions as well as window dragging. Ideally in the future we may give full control of this mouse capture via script but for now it is automatically turned on by a mousedown and turned off by a mouseup as this works in the majority of cases.
Status: NEW → RESOLVED
Last Resolved: 17 years ago
Resolution: --- → WONTFIX
*** Bug 195339 has been marked as a duplicate of this bug. ***
Is there a workaround for this behavior to detect which element the mouseup event really occured over? Surely with drag and drop it would be handy to know where something was dragged to? This is a problem with JS menus that require click and hold to display the popup menu as the popup element doesn't recieve any events.
You need to log in before you can comment on or make changes to this bug.