diff options
author | Mike Sherov <mike.sherov@gmail.com> | 2013-10-29 18:35:42 -0400 |
---|---|---|
committer | Mike Sherov <mike.sherov@gmail.com> | 2013-12-03 10:08:12 -0500 |
commit | 44b2180782df6ef3324789324fcf3f98b85784a0 (patch) | |
tree | b33d1da4ca66804d116f8a00be258f5b4c5df818 /tests/unit/draggable/draggable.html | |
parent | 77bf202e58a2e6bd505a3013812e4dc217bf7c8a (diff) | |
download | jquery-ui-44b2180782df6ef3324789324fcf3f98b85784a0.tar.gz jquery-ui-44b2180782df6ef3324789324fcf3f98b85784a0.zip |
Draggable: normalize lookups for rootNodes when to bust scroll cache. Fixes #9379 - Draggable: position bug in scrollable div
Core: update scrollParent() to support all current supported browsers.
Diffstat (limited to 'tests/unit/draggable/draggable.html')
-rw-r--r-- | tests/unit/draggable/draggable.html | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/tests/unit/draggable/draggable.html b/tests/unit/draggable/draggable.html index dd284f280..42467d2d4 100644 --- a/tests/unit/draggable/draggable.html +++ b/tests/unit/draggable/draggable.html @@ -19,6 +19,9 @@ top: 0; } #main-forceScrollable { + position: absolute; + left: 0; + top: 0; width: 1100px; height: 1100px; } @@ -33,6 +36,9 @@ overflow-y: hidden; } #scrollParent-forceScrollable { + position: absolute; + left: 0; + top: 0; width: 1300px; height: 1300px; } @@ -78,7 +84,7 @@ <div id="qunit-fixture"> <div id="scrollParent"> <div id="main"> - <div id="draggable1" style="background: green; width: 200px; height: 100px;">Relative</div> + <div id="draggable1" style="background: green; width: 200px; height: 100px; position: relative; top: 0; left: 0;">Relative</div> <div id="draggable2" style="background: green; width: 200px; height: 100px; position: absolute; top: 10px; left: 10px;"><span><em>Absolute</em></span></div> <div id="droppable" style="background: green; width: 200px; height: 100px; position: absolute; top: 110px; left: 110px;"><span>Absolute</span></div> <div id="main-forceScrollable"></div> |