File tree Expand file tree Collapse file tree 1 file changed +11
-6
lines changed Expand file tree Collapse file tree 1 file changed +11
-6
lines changed Original file line number Diff line number Diff line change @@ -24,21 +24,26 @@ <h2 id="qunit-userAgent"></h2>
24
24
< ol id ="qunit-tests ">
25
25
</ ol >
26
26
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
+
27
32
< 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 >
31
36
</ div >
32
37
33
38
< 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 >
35
40
< div id ="parentx " style ="position: absolute; width: 20px; height: 20px; top: 40px; left: 40px; "> </ div >
36
41
</ div >
37
42
38
43
< 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 >
40
45
< 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 >
42
47
< div id ="el-fixed " style ="position: fixed; top: 200px; left: 200px; "> </ div >
43
48
</ div >
44
49
</ div >
You can’t perform that action at this time.
0 commit comments