Skip to content
Permalink
Browse files

Position: Fix markup for deprecated tests. Insert/remove some new lin…

…es to make comparision to position.html trivial
  • Loading branch information...
jzaefferer committed Apr 26, 2012
1 parent f319d07 commit 9938e999645e87b7abc9da072f98c290212c9e19
Showing with 6 additions and 16 deletions.
  1. +1 −8 tests/unit/position/position.html
  2. +5 −8 tests/unit/position/position_deprecated.html
@@ -23,14 +23,7 @@
<script src="../swarminject.js"></script>
</head>
<body>
<div style="position:relative; z-index:2;">
<h1 id="qunit-header">jQuery UI Position Test Suite</h1>
<h2 id="qunit-banner"></h2>
<div id="qunit-testrunner-toolbar"></div>
<h2 id="qunit-userAgent"></h2>
<ol id="qunit-tests">
</ol>
</div>
<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
@@ -5,6 +5,9 @@
<title>jQuery UI Position Test Suite</title>

<script src="../../jquery.js"></script>



<link rel="stylesheet" href="../../../external/qunit.css">
<script src="../../../external/qunit.js"></script>
<script src="../../jquery.simulate.js"></script>
@@ -17,16 +20,10 @@

<script src="position_core.js"></script>
<script src="position_deprecated.js"></script>

<script src="../swarminject.js"></script>
</head>
<body>

<h1 id="qunit-header">jQuery UI Position Test Suite</h1>
<h2 id="qunit-banner"></h2>
<div id="qunit-testrunner-toolbar"></div>
<h2 id="qunit-userAgent"></h2>
<ol id="qunit-tests"></ol>
<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
@@ -39,7 +36,7 @@ <h2 id="qunit-userAgent"></h2>
<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 style="position: absolute; top: 0px; left: 0px">
<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="parentx" style="position: absolute; width: 20px; height: 20px; top: 40px; left: 40px;"></div>
</div>

0 comments on commit 9938e99

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