mirror of
https://github.com/jquery/jquery.git
synced 2024-11-23 02:54:22 +00:00
Ref #12846 and 3b6d8941d8. Fix unit test for IE6.
This commit is contained in:
parent
7adee6c4da
commit
fbce702f4b
8
test/unit/effects.js
vendored
8
test/unit/effects.js
vendored
@ -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 );
|
||||
}
|
||||
});
|
||||
});
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user