Position tests: Work around IE6 bug with forced heights on small elements.

This commit is contained in:
Scott González 2012-05-04 20:54:27 -04:00
parent dec5b48898
commit cba2b6c74f

View File

@ -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>