mirror of
https://github.com/jquery/jquery-ui.git
synced 2024-11-21 11:04:24 +00:00
Skip collision: fit test in IE until TestSwarm stops using iframes.
This commit is contained in:
parent
c677275821
commit
8bdf0359bb
@ -342,6 +342,8 @@ test( "collision: fit, no collision", function() {
|
|||||||
}, "with offset" );
|
}, "with offset" );
|
||||||
});
|
});
|
||||||
|
|
||||||
|
// Currently failing in IE8 due to the iframe used by TestSwarm
|
||||||
|
if ( !/msie [\w.]+/.exec( navigator.userAgent.toLowerCase() ) ) {
|
||||||
test( "collision: fit, collision", function() {
|
test( "collision: fit, collision", function() {
|
||||||
expect( 2 + (scrollTopSupport() ? 1 : 0) );
|
expect( 2 + (scrollTopSupport() ? 1 : 0) );
|
||||||
|
|
||||||
@ -372,6 +374,7 @@ test( "collision: fit, collision", function() {
|
|||||||
win.scrollTop( 0 ).scrollLeft( 0 );
|
win.scrollTop( 0 ).scrollLeft( 0 );
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
}
|
||||||
|
|
||||||
test( "collision: flip, no collision", function() {
|
test( "collision: flip, no collision", function() {
|
||||||
expect( 2 );
|
expect( 2 );
|
||||||
|
Loading…
Reference in New Issue
Block a user