Skip to content
Permalink
Browse files

Position: Apply IE6 line-height workaround to deprecated tests, too

  • Loading branch information
jzaefferer committed May 7, 2012
1 parent d6f99ea commit a0c734b9e1d773167f3c9a84df851f4ae7faba87
Showing with 2 additions and 2 deletions.
  1. +2 −2 tests/unit/position/position_deprecated.html
@@ -26,15 +26,15 @@
<div id="qunit" style="position:relative; z-index:2;"></div>

<!--
elements smaller than 10px have a line-height set on them to avoid a bug in IE6
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;"></div>
<div id="within" style="position: absolute; width: 12px; height: 12px; top: 2px; left: 0px; line-height: 12px;"></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>

0 comments on commit a0c734b

Please sign in to comment.
You can’t perform that action at this time.