diff options
author | Dave Stein <dave@behance.com> | 2014-08-22 11:51:15 -0400 |
---|---|---|
committer | Mike Sherov <mike.sherov@gmail.com> | 2014-08-22 17:19:09 -0400 |
commit | 49c3fb74039d9e840125c20e27edf52b98cc2609 (patch) | |
tree | ae166f041d137a7829a9bdecea72e48cc1638931 /tests/unit/testsuite.js | |
parent | aa425ab95d6be06337ccb435c1405f6ac38ba8b9 (diff) | |
download | jquery-ui-49c3fb74039d9e840125c20e27edf52b98cc2609.tar.gz jquery-ui-49c3fb74039d9e840125c20e27edf52b98cc2609.zip |
Draggable Tests: Ensure scrolling and dragging tests assert correctly
Diffstat (limited to 'tests/unit/testsuite.js')
-rw-r--r-- | tests/unit/testsuite.js | 6 |
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" ); }; |