Closed
Bug 1050625
Opened 10 years ago
Closed 8 years ago
mouse events don't get propagated to descendants of button element
Categories
(Core :: DOM: UI Events & Focus Handling, defect)
Tracking
()
RESOLVED
DUPLICATE
of bug 1089326
People
(Reporter: dustan.kasten, Unassigned)
Details
(Keywords: reproducible, testcase)
User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:34.0) Gecko/20100101 Firefox/34.0 (Beta/Release)
Build ID: 20140807030202
Steps to reproduce:
1. Navigate to test case on jsbin. http://jsbin.com/qutugoli/1
2. Open console.
3. Click on the yellow canvas element inside the button.
Actual results:
In Firefox the mousedown and mouseup event callbacks are never fired.
In Chrome and Safari the mousedown, mouseup, and click callbacks are fired.
A secondary concern with this is related to touch events. When simulating touch events no touchstart or touchend callback is fired on the canvas element, only the click on the button.
Expected results:
I expect the mousedown and mouseup events to be fired.
Reporter | ||
Comment 1•10 years ago
|
||
I did a quick follow up test by wrapping the children of the button in a div to see if the workaround for flexbox layout on button’s would cover this use case as well (https://bugzilla.mozilla.org/show_bug.cgi?id=984869#c2). This workaround did not solve the problem.
Updated•10 years ago
|
Keywords: reproducible,
testcase
Product: Firefox → Core
Summary: mouse events on elements in buttons → mouse events don't get propagated to descendants of button element
Comment 2•10 years ago
|
||
Confirmed 34.0a1 (2014-08-07), Win 7 x64
Status: UNCONFIRMED → NEW
Component: Untriaged → Event Handling
Ever confirmed: true
OS: Mac OS X → All
Hardware: x86 → All
Updated•8 years ago
|
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → DUPLICATE
Assignee | ||
Updated•6 years ago
|
Component: Event Handling → User events and focus handling
You need to log in
before you can comment on or make changes to this bug.
Description
•