Position: Fix markup for deprecated tests. Insert/remove some new lines to make comparision to position.html trivial

This commit is contained in:
Jörn Zaefferer 2012-04-26 20:16:06 +02:00
parent f319d07bb0
commit 9938e99964
2 changed files with 6 additions and 16 deletions

View File

@ -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

View File

@ -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 @@ elements smaller than 10px have a line-height set on them to avoid a bug in IE6
<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>