Skip to content

Commit a0c734b

Browse files
committed
Position: Apply IE6 line-height workaround to deprecated tests, too
1 parent d6f99ea commit a0c734b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/unit/position/position_deprecated.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,15 +26,15 @@
2626
<div id="qunit" style="position:relative; z-index:2;"></div>
2727

2828
<!--
29-
elements smaller than 10px have a line-height set on them to avoid a bug in IE6
29+
elements smaller than 20px have a line-height set on them to avoid a bug in IE6
3030
.height() returns the greater of the height and line-height
3131
-->
3232

3333
<div id="qunit-fixture" style="top: 0; left: 0; z-index:1">
3434
<div id="el1" style="position: absolute; width: 6px; height: 6px; line-height: 6px;"></div>
3535
<div id="el2" style="position: absolute; width: 6px; height: 6px; line-height: 6px;"></div>
3636
<div id="parent" style="position: absolute; width: 6px; height: 6px; top: 4px; left: 4px; line-height: 6px;"></div>
37-
<div id="within" style="position: absolute; width: 12px; height: 12px; top: 2px; left: 0px;"></div>
37+
<div id="within" style="position: absolute; width: 12px; height: 12px; top: 2px; left: 0px; line-height: 12px;"></div>
3838

3939
<div id="scrollx" style="position: absolute; top: 0px; left: 0px">
4040
<div id="elx" style="position: absolute; width: 10px; height: 10px; line-height: 10px;"></div>

0 commit comments

Comments
 (0)