aboutsummaryrefslogtreecommitdiffstats
path: root/tests/visual
diff options
context:
space:
mode:
authorDavid Murdoch <musicisair@yahoo.com>2011-05-26 14:22:12 +0000
committerDavid Murdoch <musicisair@yahoo.com>2011-05-26 14:22:12 +0000
commit40c008872154965d7572cda7911d42857e9fc3a9 (patch)
treeb19ebd254295b07e43874effe813f3c01476da27 /tests/visual
parentcde7cc0e6f5981d74390fa75c2519b935a4d6e0c (diff)
downloadjquery-ui-40c008872154965d7572cda7911d42857e9fc3a9.tar.gz
jquery-ui-40c008872154965d7572cda7911d42857e9fc3a9.zip
Fix visual test in IE6 and move the new helper functions for getting scrollbar properties to $.position
Diffstat (limited to 'tests/visual')
-rw-r--r--tests/visual/position/position_within.html9
1 files changed, 8 insertions, 1 deletions
diff --git a/tests/visual/position/position_within.html b/tests/visual/position/position_within.html
index a20ae7b56..ac1009d3e 100644
--- a/tests/visual/position/position_within.html
+++ b/tests/visual/position/position_within.html
@@ -22,6 +22,9 @@
/* force scroll bar*/
min-height:800px;
min-width:800px;
+
+ /* IE6 needs this */
+ text-align:center;
}
.demo-description {
text-align:center;
@@ -29,8 +32,10 @@
}
.demo-container {
background:#aaa;
- width:80%;
+ width:80%;
height:80%;
+
+ text-align:left;
margin:0 auto;
position:relative;
padding:10px;
@@ -40,6 +45,8 @@
overflow:hidden;
position:relative;
height:100%;
+ /* IE6 needs this */
+ width:100%;
}
#parent {
width: 60%;