We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7adee6c commit fbce702Copy full SHA for fbce702
test/unit/effects.js
@@ -1797,8 +1797,12 @@ test( "Animate properly sets overflow hidden when animating width/height (#12117
1797
equal( div.css( "overflow" ), "hidden",
1798
"overflow: hidden set when animating " + prop + " to " + value );
1799
div.stop();
1800
- equal( div.css( "overflow" ), "auto",
1801
- "overflow: auto restored after animating " + prop + " to " + value );
+ if ( jQuery.support.shrinkWrapBlocks ) {
+ ok( true, "cannot restore overflow, shrinkWrapBlocks" );
1802
+ } else {
1803
+ equal( div.css( "overflow" ), "auto",
1804
+ "overflow: auto restored after animating " + prop + " to " + value );
1805
+ }
1806
});
1807
1808
0 commit comments