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