diff options
author | Jörn Zaefferer <joern.zaefferer@gmail.com> | 2009-09-15 08:37:22 +0000 |
---|---|---|
committer | Jörn Zaefferer <joern.zaefferer@gmail.com> | 2009-09-15 08:37:22 +0000 |
commit | c958e0c7140dee21ec0e9988e2e5e3a41e62e011 (patch) | |
tree | 86740724c1865aa130c5b29e738b96004c524100 /tests | |
parent | 09fd7fc1fa204a63bc3929eac5f082a599bab0d0 (diff) | |
download | jquery-ui-c958e0c7140dee21ec0e9988e2e5e3a41e62e011.tar.gz jquery-ui-c958e0c7140dee21ec0e9988e2e5e3a41e62e011.zip |
draggable: tests cleanup, put all elements into #main
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); |