aboutsummaryrefslogtreecommitdiffstats
path: root/tests/unit/draggable/draggable.html
diff options
context:
space:
mode:
authorMike Sherov <mike.sherov@gmail.com>2014-08-26 08:50:50 -0400
committerMike Sherov <mike.sherov@gmail.com>2014-08-26 10:05:45 -0400
commitbfb65076e4727d4d7fc88561b0304853accb925c (patch)
tree965d801b116cfa6f3c85f8117a03a15ed7f62be3 /tests/unit/draggable/draggable.html
parent52a1de5caadd9dd0665d4bf092f6061d9d3a3a8e (diff)
downloadjquery-ui-bfb65076e4727d4d7fc88561b0304853accb925c.tar.gz
jquery-ui-bfb65076e4727d4d7fc88561b0304853accb925c.zip
Draggable: Add battery of tests to cover connectToSortable
Refs #9481 Refs #9675 Closes gh-1323
Diffstat (limited to 'tests/unit/draggable/draggable.html')
-rw-r--r--tests/unit/draggable/draggable.html16
1 files changed, 4 insertions, 12 deletions
diff --git a/tests/unit/draggable/draggable.html b/tests/unit/draggable/draggable.html
index 3b4db9921..eb4985adc 100644
--- a/tests/unit/draggable/draggable.html
+++ b/tests/unit/draggable/draggable.html
@@ -46,19 +46,11 @@
#draggable3, #draggable4 {
z-index: 100;
}
- #sortable {
+ .sortable {
position: relative;
top: 8000px;
left: 10px;
- }
- #sortable2 {
- position: relative;
- top: 9000px;
- left: 10px;
- }
- .sortable {
width: 300px;
- height: 100px;
padding: 0;
margin: 0;
border: 0;
@@ -117,13 +109,13 @@
<div style="width: 1px; height: 1000px;"></div>
<div style="position: absolute; width: 1px; height: 2000px;"></div>
<ul id="sortable" class="sortable">
- <li>Item 0</li>
- <li id="draggableSortable">Item 1</li>
+ <li id="draggableSortable">Item 0</li>
+ <li id="draggableSortable2">Item 1</li>
<li>Item 2</li>
<li>Item 3</li>
</ul>
<ul id="sortable2" class="sortable">
- <li id="draggableSortableClone">Item 0</li>
+ <li id="draggableSortableClone" class="sortable2Item">Item 0</li>
<li>Item 1</li>
<li>Item 2</li>
<li>Item 3</li>