Changes between Version 1 and Version 2 of Ticket #12314, comment 2
- Timestamp:
- 08/16/12 00:19:57 (9 months ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #12314, comment 2
v1 v2 2 2 > 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? 3 3 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 injQuery 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/14 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 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 5 5 6 6 EDIT: In Chrome, activeElement returns body instead of null.
