aboutsummaryrefslogtreecommitdiffstats
path: root/tests/unit/position
diff options
context:
space:
mode:
authorScott González <scott.gonzalez@gmail.com>2012-05-04 20:54:27 -0400
committerScott González <scott.gonzalez@gmail.com>2012-05-04 20:54:27 -0400
commitcba2b6c74fe08e53647af7c5125cbbcd3b4d1941 (patch)
tree0ddedc6f23764fd76016aa0c38d2333fc5066029 /tests/unit/position
parentdec5b4889850923b366ef54a40d568f28d5dd8d2 (diff)
downloadjquery-ui-cba2b6c74fe08e53647af7c5125cbbcd3b4d1941.tar.gz
jquery-ui-cba2b6c74fe08e53647af7c5125cbbcd3b4d1941.zip
Position tests: Work around IE6 bug with forced heights on small elements.
Diffstat (limited to 'tests/unit/position')
-rw-r--r--tests/unit/position/position.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/unit/position/position.html b/tests/unit/position/position.html
index 25276f488..8738ae667 100644
--- a/tests/unit/position/position.html
+++ b/tests/unit/position/position.html
@@ -26,7 +26,7 @@
<div id="qunit" style="position:relative; z-index:2;"></div>
<!--
-elements smaller than 10px have a line-height set on them to avoid a bug in IE6
+elements smaller than 20px have a line-height set on them to avoid a bug in IE6
.height() returns the greater of the height and line-height
-->
@@ -34,7 +34,7 @@ elements smaller than 10px have a line-height set on them to avoid a bug in IE6
<div id="el1" style="position: absolute; width: 6px; height: 6px; line-height: 6px;"></div>
<div id="el2" style="position: absolute; width: 6px; height: 6px; line-height: 6px;"></div>
<div id="parent" style="position: absolute; width: 6px; height: 6px; top: 4px; left: 4px; line-height: 6px;"></div>
- <div id="within" style="position: absolute; width: 12px; height: 12px; top: 2px; left: 0px;"></div>
+ <div id="within" style="position: absolute; width: 12px; height: 12px; top: 2px; left: 0px; line-height: 12px;"></div>
<div id="scrollx" style="position: absolute; top: 0px; left: 0px">
<div id="elx" style="position: absolute; width: 10px; height: 10px; line-height: 10px;"></div>