From cf4092eeea01cd7bc87f1e99e79c3bb2bfcd7d8a Mon Sep 17 00:00:00 2001 From: Joelle Fleurantin Date: Sun, 18 Oct 2015 16:20:25 -0400 Subject: Attributes: fix tabIndex on in IE11 Fixes gh-2647 Closes gh-2664 (cherry picked from commit c752a5030bc00eb5b45dea9c28963f824a5c4f44) Conflicts: src/attributes/prop.js --- test/unit/attributes.js | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/test/unit/attributes.js b/test/unit/attributes.js index ba9d551aa..edd900161 100644 --- a/test/unit/attributes.js +++ b/test/unit/attributes.js @@ -733,6 +733,13 @@ QUnit.test( "prop('tabindex')", function( assert ) { assert.equal( jQuery( "#linkWithNoHrefWithNegativeTabIndex" ).prop( "tabindex" ), -1, "anchor without href, no tabindex set" ); } ); +QUnit.test( "image.prop( 'tabIndex' )", function( assert ) { + assert.expect( 1 ); + var image = jQuery("") + .appendTo("#qunit-fixture"); + assert.equal( image.prop("tabIndex" ), -1, "tabIndex on image" ); +} ); + QUnit.test( "prop('tabindex', value)", function( assert ) { assert.expect( 10 ); -- cgit v1.2.3