Closed
Bug 931652
Opened 11 years ago
Closed 11 years ago
Native Focus event triggered on Click events with Firefox 24
Categories
(Core :: DOM: Events, defect)
Tracking
()
RESOLVED
DUPLICATE
of bug 886268
People
(Reporter: dennisgaebel, Unassigned)
Details
(Keywords: testcase)
Attachments
(1 file)
439 bytes,
text/html
|
Details |
User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_9_0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/30.0.1599.101 Safari/537.36 Steps to reproduce: Using a simple anchor tag get the anchors id using getElementById and attach an .onfocus and .onclick handler to this anchor tag with JavaScript. Actual results: Firefox 24 reports focused when clicked and subsequently fires the focus event. Here's the example demonstrating this => http://codepen.io/grayghostvisuals/pen/qrBLG Expected results: Focus should not be triggered on click events and only fire when using the tab key to gain focus on the anchor element.
Comment 1•11 years ago
|
||
Is this new since Firefox 24?
Component: Untriaged → DOM: Events
Product: Firefox → Core
Comment 2•11 years ago
|
||
I can reproduce the problem also in Firefox 8 on OSX, so it's not a recent regression.
Reporter | ||
Comment 3•11 years ago
|
||
@Masatoshi I have no clue. All I know is that the bug is currently in Firefox 24.
Updated•11 years ago
|
You need to log in
before you can comment on or make changes to this bug.
Description
•