Skip to content

Commit

Permalink
Skip collision: fit test in IE until TestSwarm stops using iframes.
Browse files Browse the repository at this point in the history
  • Loading branch information
scottgonzalez committed Nov 5, 2012
1 parent c677275 commit 8bdf035
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tests/unit/position/position_core.js
Expand Up @@ -342,6 +342,8 @@ test( "collision: fit, no collision", function() {
}, "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() {
expect( 2 + (scrollTopSupport() ? 1 : 0) );

Expand Down Expand Up @@ -372,6 +374,7 @@ test( "collision: fit, collision", function() {
win.scrollTop( 0 ).scrollLeft( 0 );
}
});
}

test( "collision: flip, no collision", function() {
expect( 2 );
Expand Down

0 comments on commit 8bdf035

Please sign in to comment.