aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorJörn Zaefferer <joern.zaefferer@gmail.com>2012-04-26 20:16:06 +0200
committerJörn Zaefferer <joern.zaefferer@gmail.com>2012-04-26 20:16:06 +0200
commit9938e999645e87b7abc9da072f98c290212c9e19 (patch)
tree0ff9afa4703ce8207015938c28245df8e8fb728c /tests
parentf319d07bb02188b75104f19ac456b1dde8429b1a (diff)
downloadjquery-ui-9938e999645e87b7abc9da072f98c290212c9e19.tar.gz
jquery-ui-9938e999645e87b7abc9da072f98c290212c9e19.zip
Position: Fix markup for deprecated tests. Insert/remove some new lines to make comparision to position.html trivial
Diffstat (limited to 'tests')
-rw-r--r--tests/unit/position/position.html9
-rw-r--r--tests/unit/position/position_deprecated.html13
2 files changed, 6 insertions, 16 deletions
diff --git a/tests/unit/position/position.html b/tests/unit/position/position.html
index 2a6e43d36..25276f488 100644
--- a/tests/unit/position/position.html
+++ b/tests/unit/position/position.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
diff --git a/tests/unit/position/position_deprecated.html b/tests/unit/position/position_deprecated.html
index 8794812a8..5fc768459 100644
--- a/tests/unit/position/position_deprecated.html
+++ b/tests/unit/position/position_deprecated.html
@@ -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>