diff options
Diffstat (limited to 'tests')
-rw-r--r-- | tests/unit/draggable/draggable.html | 3 | ||||
-rw-r--r-- | tests/unit/draggable/draggable_options.js | 2 |
2 files changed, 2 insertions, 3 deletions
diff --git a/tests/unit/draggable/draggable.html b/tests/unit/draggable/draggable.html index 59e5e2057..35e8c578d 100644 --- a/tests/unit/draggable/draggable.html +++ b/tests/unit/draggable/draggable.html @@ -25,9 +25,8 @@ <div id="draggable1" style="background: green; width: 200px; height: 100px;">Relative</div> <div id="draggable2" style="background: green; width: 200px; height: 100px; position: absolute; top: 10px; left: 10px;"><span>Absolute</span></div> <div style='width: 1px; height: 1000px;'></div> + <div style="position: absolute; width: 1px; height: 2000px;"></div> </div> -<div style="width: 1px; height: 2000px;"></div> - </body> </html> diff --git a/tests/unit/draggable/draggable_options.js b/tests/unit/draggable/draggable_options.js index 7afeab904..72fa28639 100644 --- a/tests/unit/draggable/draggable_options.js +++ b/tests/unit/draggable/draggable_options.js @@ -93,7 +93,7 @@ test("{ axis: ? }, unexpected", function() { test("{ cancel: ':input,option' }, default", function() { equals(draggable_defaults.cancel, ":input,option"); - $('<div id="draggable-option-cancel-default"><input type="text"></div>').appendTo('body'); + $('<div id="draggable-option-cancel-default"><input type="text"></div>').appendTo('#main'); el = $("#draggable-option-cancel-default").draggable({ cancel: ":input,option" }); drag("#draggable-option-cancel-default", 50, 50); |