aboutsummaryrefslogtreecommitdiffstats
path: root/tests/unit/testsuite.js
diff options
context:
space:
mode:
Diffstat (limited to 'tests/unit/testsuite.js')
-rw-r--r--tests/unit/testsuite.js6
1 files changed, 4 insertions, 2 deletions
diff --git a/tests/unit/testsuite.js b/tests/unit/testsuite.js
index 9dd0b04ab..cb5397d57 100644
--- a/tests/unit/testsuite.js
+++ b/tests/unit/testsuite.js
@@ -205,9 +205,11 @@ TestHelpers.onFocus= function( element, onFocus ) {
};
TestHelpers.forceScrollableWindow = function( appendTo ) {
+ // The main testable area is 10000x10000 so to enforce scrolling,
+ // this DIV must be greater than 10000 to work
return $( "<div>" ).css({
- height: "10000px",
- width: "10000px"
+ height: "11000px",
+ width: "11000px"
}).appendTo( appendTo || "#qunit-fixture" );
};