Commit fbce702f authored by Dave Methvin's avatar Dave Methvin

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

parent 7adee6c4
...@@ -1797,8 +1797,12 @@ test( "Animate properly sets overflow hidden when animating width/height (#12117 ...@@ -1797,8 +1797,12 @@ test( "Animate properly sets overflow hidden when animating width/height (#12117
equal( div.css( "overflow" ), "hidden", equal( div.css( "overflow" ), "hidden",
"overflow: hidden set when animating " + prop + " to " + value ); "overflow: hidden set when animating " + prop + " to " + value );
div.stop(); div.stop();
equal( div.css( "overflow" ), "auto", if ( jQuery.support.shrinkWrapBlocks ) {
"overflow: auto restored after animating " + prop + " to " + value ); ok( true, "cannot restore overflow, shrinkWrapBlocks" );
} else {
equal( div.css( "overflow" ), "auto",
"overflow: auto restored after animating " + prop + " to " + value );
}
}); });
}); });
}); });
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment