File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -24,21 +24,26 @@ <h2 id="qunit-userAgent"></h2>
2424< ol id ="qunit-tests ">
2525</ ol >
2626
27+ <!--
28+ elements smaller than 10px have a line-height set on them to avoid a bug in IE6
29+ .height() returns the greater of the height and line-height
30+ -->
31+
2732< div id ="main " style ="position: absolute; top: 0; left: 0; ">
28- < div id ="el1 " style ="position: absolute; width: 6px; height: 6px; "> </ div >
29- < div id ="el2 " style ="position: absolute; width: 6px; height: 6px; "> </ div >
30- < div id ="parent " style ="position: absolute; width: 6px; height: 6px; top: 4px; left: 4px; "> </ div >
33+ < div id ="el1 " style ="position: absolute; width: 6px; height: 6px; line-height: 6px; "> </ div >
34+ < div id ="el2 " style ="position: absolute; width: 6px; height: 6px; line-height: 6px; "> </ div >
35+ < div id ="parent " style ="position: absolute; width: 6px; height: 6px; top: 4px; left: 4px; line-height: 6px; "> </ div >
3136</ div >
3237
3338< div style ="position: absolute; top: 0px; left: 0px ">
34- < div id ="elx " style ="position: absolute; width: 10px; height: 10px; "> </ div >
39+ < div id ="elx " style ="position: absolute; width: 10px; height: 10px; line-height: 10px; "> </ div >
3540 < div id ="parentx " style ="position: absolute; width: 20px; height: 20px; top: 40px; left: 40px; "> </ div >
3641</ div >
3742
3843< div style ="position: absolute; top: 200px; left: 100px; ">
39- < div id ="el-offset-100-200 " style ="position: absolute; width: 10px; height: 10px; "> </ div >
44+ < div id ="el-offset-100-200 " style ="position: absolute; width: 10px; height: 10px; line-height: 10px; "> </ div >
4045 < div style ="position: absolute; top: 100px; left: 50px; ">
41- < div id ="el-two-offset-150-300 " style ="position: absolute; width: 10px; height: 10px; "> </ div >
46+ < div id ="el-two-offset-150-300 " style ="position: absolute; width: 10px; height: 10px; line-height: 10px; "> </ div >
4247 < div id ="el-fixed " style ="position: fixed; top: 200px; left: 200px; "> </ div >
4348 </ div >
4449</ div >
You can’t perform that action at this time.
0 commit comments