Skip to content

Commit 0fc9bd2

Browse files
committed
Position: Remove IE6 workarounds in tests
Closes jquerygh-1543
1 parent 9f62a3f commit 0fc9bd2

File tree

1 file changed

+7
-12
lines changed

1 file changed

+7
-12
lines changed

tests/unit/position/position.html

Lines changed: 7 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -11,19 +11,14 @@
1111
<body>
1212
<div id="qunit" style="position:relative; z-index:2;"></div>
1313

14-
<!--
15-
elements smaller than 20px have a line-height set on them to avoid a bug in IE6
16-
.height() returns the greater of the height and line-height
17-
-->
18-
1914
<div id="qunit-fixture" style="top: 0; left: 0; z-index:1">
20-
<div id="el1" style="position: absolute; width: 6px; height: 6px; line-height: 6px;"></div>
21-
<div id="el2" style="position: absolute; width: 6px; height: 6px; line-height: 6px;"></div>
22-
<div id="parent" style="position: absolute; width: 6px; height: 6px; top: 4px; left: 4px; line-height: 6px;"></div>
23-
<div id="within" style="position: absolute; width: 12px; height: 12px; top: 2px; left: 0px; line-height: 12px;"></div>
15+
<div id="el1" style="position: absolute; width: 6px; height: 6px;"></div>
16+
<div id="el2" style="position: absolute; width: 6px; height: 6px;"></div>
17+
<div id="parent" style="position: absolute; width: 6px; height: 6px; top: 4px; left: 4px;"></div>
18+
<div id="within" style="position: absolute; width: 12px; height: 12px; top: 2px; left: 0px;"></div>
2419

2520
<div id="scrollx" style="position: absolute; top: 0px; left: 0px">
26-
<div id="elx" style="position: absolute; width: 10px; height: 10px; line-height: 10px;"></div>
21+
<div id="elx" style="position: absolute; width: 10px; height: 10px;"></div>
2722
<div id="parentx" style="position: absolute; width: 20px; height: 20px; top: 40px; left: 40px;"></div>
2823
</div>
2924

@@ -37,8 +32,8 @@
3732
<div style="width: 50px; height: 10px;"></div>
3833
</div>
3934

40-
<div id="bug-8710-within-smaller" style="position: absolute; width: 100px; height: 99px; top: 0px; left: 0px; line-height: 99px;"></div>
41-
<div id="bug-8710-within-bigger" style="position: absolute; width: 100px; height: 101px; top: 0px; left: 0px; line-height: 101px;"></div>
35+
<div id="bug-8710-within-smaller" style="position: absolute; width: 100px; height: 99px; top: 0px; left: 0px;"></div>
36+
<div id="bug-8710-within-bigger" style="position: absolute; width: 100px; height: 101px; top: 0px; left: 0px;"></div>
4237
</div>
4338

4439
</body>

0 commit comments

Comments
 (0)