Ref #12846 and 3b6d8941d8. Fix unit test for IE6.

This commit is contained in:
Dave Methvin 2013-02-02 22:18:33 -05:00
parent 7adee6c4da
commit fbce702f4b

View File

@ -1797,8 +1797,12 @@ test( "Animate properly sets overflow hidden when animating width/height (#12117
equal( div.css( "overflow" ), "hidden",
"overflow: hidden set when animating " + prop + " to " + value );
div.stop();
equal( div.css( "overflow" ), "auto",
"overflow: auto restored after animating " + prop + " to " + value );
if ( jQuery.support.shrinkWrapBlocks ) {
ok( true, "cannot restore overflow, shrinkWrapBlocks" );
} else {
equal( div.css( "overflow" ), "auto",
"overflow: auto restored after animating " + prop + " to " + value );
}
});
});
});