Skip to main content

Bug Tracker

Side navigation

#14490 closed bug (cantfix)

Opened October 27, 2013 06:12PM UTC

Closed October 28, 2013 02:15PM UTC

.focus() event triggered on click events w/Firefox 24

Reported by: dgaebel@madebymode.com Owned by: dgaebel@madebymode.com
Priority: undecided Milestone: None
Component: unfiled Version: 1.10.2
Keywords: Cc:
Blocked by: Blocking:
Description

Using a simple anchor tag and attaching .focus and the .on('click') handler, Firefox 24 reports focused when clicked and subsequently fires the focus event. Here's the example demonstrating this => http://codepen.io/grayghostvisuals/pen/qrBLG

Attachments (0)
Change History (3)

Changed October 28, 2013 12:11AM UTC by dmethvin comment:1

owner: → dgaebel@madebymode.com
status: newpending

Same behavior with native event handlers. Did you report this to Mozilla if you think it's a bug? I haven't read the spec to see whether this is well defined.

http://codepen.io/anon/pen/ydnFC

Changed October 28, 2013 01:31AM UTC by dgaebel@madebymode.com comment:2

status: pendingnew

It appears to be beyond the jQuery lib and more to do with the Firefox implementation. I've gone ahead and filed the bug with my updated demo => https://bugzilla.mozilla.org/show_bug.cgi?id=931652

Changed October 28, 2013 02:15PM UTC by timmywil comment:3

resolution: → cantfix
status: newclosed