aboutsummaryrefslogtreecommitdiffstats
path: root/tests/unit
diff options
context:
space:
mode:
authorScott González <scott.gonzalez@gmail.com>2012-11-05 11:31:33 -0500
committerScott González <scott.gonzalez@gmail.com>2012-11-05 11:31:33 -0500
commit8bdf0359bbb3401c053fa453496ffd0c4b9f61bd (patch)
tree5bde5d2f5889089b1a9a3de3559031bd211a783f /tests/unit
parentc67727582148d1d4ed657b654eff5da914c7ac97 (diff)
downloadjquery-ui-8bdf0359bbb3401c053fa453496ffd0c4b9f61bd.tar.gz
jquery-ui-8bdf0359bbb3401c053fa453496ffd0c4b9f61bd.zip
Skip collision: fit test in IE until TestSwarm stops using iframes.
Diffstat (limited to 'tests/unit')
-rw-r--r--tests/unit/position/position_core.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/unit/position/position_core.js b/tests/unit/position/position_core.js
index 3b749a218..7b51223ac 100644
--- a/tests/unit/position/position_core.js
+++ b/tests/unit/position/position_core.js
@@ -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) );
@@ -372,6 +374,7 @@ test( "collision: fit, collision", function() {
win.scrollTop( 0 ).scrollLeft( 0 );
}
});
+}
test( "collision: flip, no collision", function() {
expect( 2 );