Skip to main content

Bug Tracker

Side navigation

#8732 closed bug (fixed)

Opened March 31, 2011 08:36PM UTC

Closed April 07, 2011 03:15AM UTC

Last modified March 09, 2012 03:03PM UTC

Incorrect feature detect for IE9 focusin/focusout

Reported by: dmethvin Owned by: dmethvin
Priority: blocker Milestone: 1.6
Component: event Version: 1.5.2rc1
Keywords: Cc:
Blocked by: Blocking:
Description

The indirect feature test in event.js for whether to simulate focusin/focusout is to look for document.addEventListener, but IE9 supports that and still has bubbling focusin/out so we are adding simulated event support when we shouldn't.

via danheberden: http://jsfiddle.net/cKRWE/5/

Attachments (0)
Change History (5)

Changed March 31, 2011 08:42PM UTC by dmethvin comment:1

Update: http://jsfiddle.net/dmethvin/cKRWE/6/

The addEventListener needed a third arg.

Changed March 31, 2011 08:43PM UTC by dmethvin comment:2

component: unfiled → event
milestone: 1.next → 1.6
priority: undecided → blocker
version: 1.5.1 → 1.5.2rc1

Changed April 01, 2011 12:45AM UTC by timmywil comment:3

status: new → open

Changed April 04, 2011 02:17PM UTC by dmethvin comment:4

owner: → dmethvin
status: open → assigned

Changed April 07, 2011 03:15AM UTC by Dave Methvin comment:5

resolution: → fixed
status: assigned → closed

Fix #8732. Change feature detect for focusin event support, so IE9 won't have duplicate events.

Changeset: bbd9c776ea22296a6807d5b760bd4e82ee5f4414