Closed Bug 1276143 Opened 10 years ago Closed 9 years ago

<button> child elements can not respond to mouse events

Categories

(Core :: DOM: Events, defect)

49 Branch
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 1089326

People

(Reporter: 709922234, Unassigned)

Details

(Whiteboard: btpp-followup-2016-07-05)

User Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:40.0) Gecko/20100101 Firefox/40.1 Build ID: 20160525063710 Steps to reproduce: http://codepen.io/mantou132/pen/PzYvNN?editors=1001 Actual results: <button> child elements :hover and click fail
Version: 40 Branch → 49 Branch
Status: UNCONFIRMED → NEW
Component: Untriaged → DOM: Events
Ever confirmed: true
Product: Firefox → Core
Can you tell me what you're expecting as the output and what steps to use to get it? I clicked the buttons in the example and in both Chrome and Firefox I get: [object HTMLButtonElement] click [object HTMLSpanElement] click [object HTMLDivElement] click Thank you (especially for the test case!).
Flags: needinfo?(709922234)
Whiteboard: btpp-followup-2016-07-05
Click the button in the chrome output: [Object HTMLSpanElement] click [Object HTMLButtonElement] click I hope that the behavior of Firefox with the same chrome thx.
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → DUPLICATE
Flags: needinfo?(709922234)
You need to log in before you can comment on or make changes to this bug.