aboutsummaryrefslogtreecommitdiffstats
path: root/tests/unit/draggable/draggable.html
diff options
context:
space:
mode:
authorMike Sherov <mike.sherov@gmail.com>2013-01-12 00:33:45 -0500
committerMike Sherov <mike.sherov@gmail.com>2013-03-04 01:05:11 -0500
commitc278a4461b399c5b84abf4e03c1d902bfd130441 (patch)
tree7982633aec7b9c658a72de0524dbd1848a676add /tests/unit/draggable/draggable.html
parent6d3a1e1fe8cc21f385456ea26075f3909136a589 (diff)
downloadjquery-ui-c278a4461b399c5b84abf4e03c1d902bfd130441.tar.gz
jquery-ui-c278a4461b399c5b84abf4e03c1d902bfd130441.zip
Draggable Tests: Add test coverage for supported options
Diffstat (limited to 'tests/unit/draggable/draggable.html')
-rw-r--r--tests/unit/draggable/draggable.html22
1 files changed, 10 insertions, 12 deletions
diff --git a/tests/unit/draggable/draggable.html b/tests/unit/draggable/draggable.html
index 50bed8caf..6380f3e85 100644
--- a/tests/unit/draggable/draggable.html
+++ b/tests/unit/draggable/draggable.html
@@ -6,12 +6,12 @@
<script src="../../jquery.js"></script>
<link rel="stylesheet" href="../../../external/qunit.css">
-
+
<style>
/* See #9077 */
#draggable3, #draggable4 { z-index: 100; }
</style>
-
+
<script src="../../../external/qunit.js"></script>
<script src="../../jquery.simulate.js"></script>
<script src="../testsuite.js"></script>
@@ -23,7 +23,8 @@
"ui/jquery.ui.widget.js",
"ui/jquery.ui.mouse.js",
"ui/jquery.ui.resizable.js",
- "ui/jquery.ui.draggable.js"
+ "ui/jquery.ui.draggable.js",
+ "ui/jquery.ui.droppable.js"
]
});
</script>
@@ -45,15 +46,12 @@
<h2 id="qunit-userAgent"></h2>
<ol id="qunit-tests"></ol>
<div id="qunit-fixture">
-<div id="main"></div>
-
-<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 id="draggable3"></div>
-<div id="draggable4"></div>
-
+ <div id="main"></div>
+ <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 id="droppable" style="background: green; width: 200px; height: 100px; position: absolute; top: 110px; left: 110px;"><span>Absolute</span></div>
+ <div style="width: 1px; height: 1000px;"></div>
+ <div style="position: absolute; width: 1px; height: 2000px;"></div>
</div>
</body>