Skip to content

Commit 9938e99

Browse files
committed
Position: Fix markup for deprecated tests. Insert/remove some new lines to make comparision to position.html trivial
1 parent f319d07 commit 9938e99

File tree

2 files changed

+6
-16
lines changed

2 files changed

+6
-16
lines changed

tests/unit/position/position.html

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -23,14 +23,7 @@
2323
<script src="../swarminject.js"></script>
2424
</head>
2525
<body>
26-
<div style="position:relative; z-index:2;">
27-
<h1 id="qunit-header">jQuery UI Position Test Suite</h1>
28-
<h2 id="qunit-banner"></h2>
29-
<div id="qunit-testrunner-toolbar"></div>
30-
<h2 id="qunit-userAgent"></h2>
31-
<ol id="qunit-tests">
32-
</ol>
33-
</div>
26+
<div id="qunit" style="position:relative; z-index:2;"></div>
3427

3528
<!--
3629
elements smaller than 10px have a line-height set on them to avoid a bug in IE6

tests/unit/position/position_deprecated.html

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@
55
<title>jQuery UI Position Test Suite</title>
66

77
<script src="../../jquery.js"></script>
8+
9+
10+
811
<link rel="stylesheet" href="../../../external/qunit.css">
912
<script src="../../../external/qunit.js"></script>
1013
<script src="../../jquery.simulate.js"></script>
@@ -17,16 +20,10 @@
1720

1821
<script src="position_core.js"></script>
1922
<script src="position_deprecated.js"></script>
20-
2123
<script src="../swarminject.js"></script>
2224
</head>
2325
<body>
24-
25-
<h1 id="qunit-header">jQuery UI Position Test Suite</h1>
26-
<h2 id="qunit-banner"></h2>
27-
<div id="qunit-testrunner-toolbar"></div>
28-
<h2 id="qunit-userAgent"></h2>
29-
<ol id="qunit-tests"></ol>
26+
<div id="qunit" style="position:relative; z-index:2;"></div>
3027

3128
<!--
3229
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>
3936
<div id="parent" style="position: absolute; width: 6px; height: 6px; top: 4px; left: 4px; line-height: 6px;"></div>
4037
<div id="within" style="position: absolute; width: 12px; height: 12px; top: 2px; left: 0px;"></div>
4138

42-
<div style="position: absolute; top: 0px; left: 0px">
39+
<div id="scrollx" style="position: absolute; top: 0px; left: 0px">
4340
<div id="elx" style="position: absolute; width: 10px; height: 10px; line-height: 10px;"></div>
4441
<div id="parentx" style="position: absolute; width: 20px; height: 20px; top: 40px; left: 40px;"></div>
4542
</div>

0 commit comments

Comments
 (0)