Open
Bug 1259357
Opened 10 years ago
Updated 2 years ago
mouseup event target is wrong when the mousedown element is in overflow:hidden
Categories
(Core :: DOM: UI Events & Focus Handling, defect, P3)
Tracking
()
UNCONFIRMED
People
(Reporter: jumperchen, Unassigned)
References
(Depends on 1 open bug, Blocks 1 open bug)
Details
(Whiteboard: btpp-followup-2016-04-26)
Attachments
(1 file)
|
681 bytes,
text/html
|
Details |
User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.11; rv:44.0) Gecko/20100101 Firefox/44.0
Build ID: 20160210153822
Steps to reproduce:
1. Go to this example code - https://jsfiddle.net/crg1bhw8/
2. Mousedown into the green area and keep it
3. Move to the blue area to release your mouse (i.e. mouse up upon the blue area)
Actual results:
You will see the console log with "Please mouse down on me"
Expected results:
You should see the console log with "Please mouse up on me", this result works on all the latest browsers (IE8~11, Edge, Safari, and Chrome) except Firefox.
Comment 1•10 years ago
|
||
Is this a dupe of bug 1257813?
Flags: needinfo?(jumperchen)
Whiteboard: btpp-followup-2016-04-26
| Reporter | ||
Comment 2•10 years ago
|
||
No, this issue is related to the CSS "overflow:hidden", without it everything works well.
Flags: needinfo?(jumperchen)
Comment 4•9 years ago
|
||
Is this bug a regression? I'd be surprised if it was. My guess is that this is caused by the automatic mouse capturing that scrollable elements do, at https://dxr.mozilla.org/mozilla-central/rev/5511d54a3f172c1d68f98cc55dce4de1d0ba1b51/layout/generic/nsFrame.cpp#3260
Updated•7 years ago
|
Priority: -- → P3
Comment 6•5 years ago
|
||
I accidentally built a testcase for this while trying to debug a WebCompat issue. As the initial report is hosted on jsfiddle and might disappear some day, the simplified testcase is attached.
Comment 7•5 years ago
|
||
Flagging for WebCompat prioritization, as this breaks a JS table script, see bug 1529753.
Webcompat Priority: --- → ?
Updated•5 years ago
|
Severity: normal → S3
Component: DOM: Events → DOM: UI Events & Focus Handling
Comment 8•4 years ago
|
||
This is still an issue but there is no known site currently affected by this bug.
Webcompat Priority: ? → ---
| Comment hidden (obsolete) |
Updated•2 years ago
|
Flags: needinfo?(continuation)
You need to log in
before you can comment on or make changes to this bug.
Description
•