aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorScott González <scott.gonzalez@gmail.com>2015-04-20 14:21:36 -0400
committerScott González <scott.gonzalez@gmail.com>2015-04-20 14:32:31 -0400
commit0fc9bd208a0d42f3613c1519656203208195cd04 (patch)
tree4f86bb01188f5f30cb473c66c4adb21b8374ad0d
parent9f62a3faf638c964bbf37791258dd19faa566a2a (diff)
downloadjquery-ui-0fc9bd208a0d42f3613c1519656203208195cd04.tar.gz
jquery-ui-0fc9bd208a0d42f3613c1519656203208195cd04.zip
Position: Remove IE6 workarounds in tests
Closes gh-1543
-rw-r--r--tests/unit/position/position.html19
1 files changed, 7 insertions, 12 deletions
diff --git a/tests/unit/position/position.html b/tests/unit/position/position.html
index 5f2a21532..a8c9fceea 100644
--- a/tests/unit/position/position.html
+++ b/tests/unit/position/position.html
@@ -11,19 +11,14 @@
<body>
<div id="qunit" style="position:relative; z-index:2;"></div>
-<!--
-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
--->
-
<div id="qunit-fixture" style="top: 0; left: 0; z-index:1">
- <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; line-height: 12px;"></div>
+ <div id="el1" style="position: absolute; width: 6px; height: 6px;"></div>
+ <div id="el2" style="position: absolute; width: 6px; height: 6px;"></div>
+ <div id="parent" style="position: absolute; width: 6px; height: 6px; top: 4px; left: 4px;"></div>
+ <div id="within" style="position: absolute; width: 12px; height: 12px; top: 2px; left: 0px;"></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>
+ <div id="elx" style="position: absolute; width: 10px; height: 10px;"></div>
<div id="parentx" style="position: absolute; width: 20px; height: 20px; top: 40px; left: 40px;"></div>
</div>
@@ -37,8 +32,8 @@ elements smaller than 20px have a line-height set on them to avoid a bug in IE6
<div style="width: 50px; height: 10px;"></div>
</div>
- <div id="bug-8710-within-smaller" style="position: absolute; width: 100px; height: 99px; top: 0px; left: 0px; line-height: 99px;"></div>
- <div id="bug-8710-within-bigger" style="position: absolute; width: 100px; height: 101px; top: 0px; left: 0px; line-height: 101px;"></div>
+ <div id="bug-8710-within-smaller" style="position: absolute; width: 100px; height: 99px; top: 0px; left: 0px;"></div>
+ <div id="bug-8710-within-bigger" style="position: absolute; width: 100px; height: 101px; top: 0px; left: 0px;"></div>
</div>
</body>