aboutsummaryrefslogtreecommitdiffstats
path: root/tests/visual
diff options
context:
space:
mode:
authorJörn Zaefferer <joern.zaefferer@gmail.com>2012-04-24 17:23:25 +0200
committerJörn Zaefferer <joern.zaefferer@gmail.com>2012-04-24 17:23:25 +0200
commit252352e12473034dc86917bc9c7c1f764e6f7eb4 (patch)
tree4783929caabe1a25abfd743622b9071221a21b26 /tests/visual
parent1a0f2e46593ec9e3fbca51175d342210a9996fba (diff)
downloadjquery-ui-252352e12473034dc86917bc9c7c1f764e6f7eb4.tar.gz
jquery-ui-252352e12473034dc86917bc9c7c1f764e6f7eb4.zip
Position: Fix scrollbar calculcation to correctly take overflow:scroll into account, along with unit tests
Diffstat (limited to 'tests/visual')
-rw-r--r--tests/visual/position/position_within.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/visual/position/position_within.html b/tests/visual/position/position_within.html
index 7d8813582..692cb1067 100644
--- a/tests/visual/position/position_within.html
+++ b/tests/visual/position/position_within.html
@@ -97,7 +97,7 @@
collision: $( "#collision_horizontal" ).val() + " " + $( "#collision_vertical" ).val()
});
}
- $( ".demo" ).append("<div style='width:5000px;height:5000px;' />").css("overflow","auto");
+ $( ".demo" ).css("overflow","scroll");
$( ".positionable" ).css( "opacity", 0.5 );