Bug Tracker

Changes between Version 1 and Version 2 of Ticket #12314, comment 2


Ignore:
Timestamp:
Aug 15, 2012, 8:19:57 PM (9 years ago)
Author:
konp
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #12314, comment 2

    v1 v2  
    22> 1) Is there some place within jQuery that calls $.contains with the second arg of `null`? Or was this a direct use inside your own code?
    33
    4 From within jQuery UI animations callback to removeWrapper() function -  the document.activeElement is used as the second parameter.  In IE9, active element can be null (such is the case with certain animations and calls to .blur()).  Although I found this bug in jQuery UI, I am considering this a bug in jQuery as it is a breaking change between 1.7.2 and 1.8.0.   Again, please look at the same code working with 1.7.2 - http://jsfiddle.net/Zj8VQ/1
     4From within jQuery UI animations callback to removeWrapper() function -  the document.activeElement is used as the second parameter.  In IE9, active element can be null (such is the case with certain animations and calls to .blur()).  Although I found this bug by using jQuery UI, I am considering this a bug in jQuery as it is a breaking change between 1.7.2 and 1.8.0.   Again, please look at the same code working with 1.7.2 - http://jsfiddle.net/Zj8VQ/1
    55
    66EDIT: In Chrome, activeElement returns body instead of null.