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 );