aboutsummaryrefslogtreecommitdiffstats
path: root/tests/unit
diff options
context:
space:
mode:
authorScott González <scott.gonzalez@gmail.com>2011-08-03 17:12:44 -0400
committerScott González <scott.gonzalez@gmail.com>2011-08-03 17:12:44 -0400
commit4adb9026eab43e36f78991cbe56088f2de110089 (patch)
treee0dc8936f9ecbd5e72db69bf3b1ffd7d1d48acbd /tests/unit
parent6867e0b5517d4664e309652f807011ea350d1f67 (diff)
downloadjquery-ui-4adb9026eab43e36f78991cbe56088f2de110089.tar.gz
jquery-ui-4adb9026eab43e36f78991cbe56088f2de110089.zip
Tests: Cleanup.
Diffstat (limited to 'tests/unit')
-rw-r--r--tests/unit/autocomplete/autocomplete.html1
-rw-r--r--tests/unit/button/button.html90
-rw-r--r--tests/unit/core/core.html211
-rw-r--r--tests/unit/datepicker/datepicker.html60
-rw-r--r--tests/unit/dialog/dialog.html58
-rw-r--r--tests/unit/draggable/draggable.html51
-rw-r--r--tests/unit/droppable/droppable.html53
-rw-r--r--tests/unit/effects/effects.html25
-rw-r--r--tests/unit/menu/menu.html81
-rw-r--r--tests/unit/position/position.html5
-rw-r--r--tests/unit/position/position_deprecated.html5
-rw-r--r--tests/unit/progressbar/progressbar.html48
-rw-r--r--tests/unit/resizable/resizable.html54
-rw-r--r--tests/unit/selectable/selectable.html57
-rw-r--r--tests/unit/slider/slider.html55
-rw-r--r--tests/unit/sortable/sortable.html59
-rw-r--r--tests/unit/spinner/spinner.html56
-rw-r--r--tests/unit/widget/widget.html5
18 files changed, 476 insertions, 498 deletions
diff --git a/tests/unit/autocomplete/autocomplete.html b/tests/unit/autocomplete/autocomplete.html
index 82d04291b..39e88fdd5 100644
--- a/tests/unit/autocomplete/autocomplete.html
+++ b/tests/unit/autocomplete/autocomplete.html
@@ -4,6 +4,7 @@
<meta charset="utf-8">
<title>jQuery UI Autocomplete Test Suite</title>
+ <link rel="stylesheet" href="../../../themes/base/jquery.ui.core.css">
<link rel="stylesheet" href="../../../themes/base/jquery.ui.autocomplete.css">
<script src="../../jquery.js"></script>
diff --git a/tests/unit/button/button.html b/tests/unit/button/button.html
index 3474df20c..7fcf07eec 100644
--- a/tests/unit/button/button.html
+++ b/tests/unit/button/button.html
@@ -1,29 +1,30 @@
-<!DOCTYPE html>
+<!doctype html>
<html lang="en">
<head>
- <meta charset="UTF-8" />
+ <meta charset="utf-8">
<title>jQuery UI Button Test Suite</title>
- <link type="text/css" href="../../../themes/base/jquery.ui.button.css" rel="stylesheet" />
+ <link rel="stylesheet" href="../../../themes/base/jquery.ui.core.css">
+ <link rel="stylesheet" href="../../../themes/base/jquery.ui.button.css">
<script src="../../jquery.js"></script>
- <script type="text/javascript" src="../../../ui/jquery.ui.core.js"></script>
- <script type="text/javascript" src="../../../ui/jquery.ui.widget.js"></script>
- <script type="text/javascript" src="../../../ui/jquery.ui.button.js"></script>
+ <script src="../../../ui/jquery.ui.core.js"></script>
+ <script src="../../../ui/jquery.ui.widget.js"></script>
+ <script src="../../../ui/jquery.ui.button.js"></script>
- <link rel="stylesheet" href="../../../external/qunit.css" type="text/css"/>
- <script type="text/javascript" src="../../../external/qunit.js"></script>
- <script type="text/javascript" src="../../jquery.simulate.js"></script>
- <script type="text/javascript" src="../testsuite.js"></script>
-
- <script type="text/javascript" src="button_core.js"></script>
- <script type="text/javascript" src="button_defaults.js"></script>
- <script type="text/javascript" src="button_events.js"></script>
- <script type="text/javascript" src="button_methods.js"></script>
- <script type="text/javascript" src="button_options.js"></script>
- <script type="text/javascript" src="button_tickets.js"></script>
-
- <script type="text/javascript" src="../swarminject.js"></script>
+ <link rel="stylesheet" href="../../../external/qunit.css">
+ <script src="../../../external/qunit.js"></script>
+ <script src="../../jquery.simulate.js"></script>
+ <script src="../testsuite.js"></script>
+
+ <script src="button_core.js"></script>
+ <script src="button_defaults.js"></script>
+ <script src="button_events.js"></script>
+ <script src="button_methods.js"></script>
+ <script src="button_options.js"></script>
+ <script src="button_tickets.js"></script>
+
+ <script src="../swarminject.js"></script>
</head>
<body>
@@ -31,38 +32,35 @@
<h2 id="qunit-banner"></h2>
<div id="qunit-testrunner-toolbar"></div>
<h2 id="qunit-userAgent"></h2>
-<ol id="qunit-tests">
-</ol>
-
+<ol id="qunit-tests"></ol>
<div id="qunit-fixture">
+<div><button id="button" class="foo">Label</button></div>
- <div><button id="button" class="foo">Label</button></div>
-
- <div id="radio0" style="margin-top: 2em;">
- <input type="radio" id="radio01" name="radio" checked="checked" /><label for="radio01">Choice 1</label>
- <input type="radio" id="radio02" name="radio" /><label for="radio02">Choice 2</label>
- <input type="radio" id="radio03" name="radio" /><label for="radio03">Choice 3</label>
+<div id="radio0" style="margin-top: 2em;">
+ <input type="radio" id="radio01" name="radio" checked="checked"><label for="radio01">Choice 1</label>
+ <input type="radio" id="radio02" name="radio"><label for="radio02">Choice 2</label>
+ <input type="radio" id="radio03" name="radio"><label for="radio03">Choice 3</label>
+</div>
+<form>
+ <div id="radio1" style="margin-top: 2em;">
+ <input type="radio" id="radio11" name="radio"><label for="radio11">Choice 1</label>
+ <input type="radio" id="radio12" name="radio" checked="checked"><label for="radio12">Choice 2</label>
+ <input type="radio" id="radio13" name="radio"><label for="radio13">Choice 3</label>
</div>
- <form>
- <div id="radio1" style="margin-top: 2em;">
- <input type="radio" id="radio11" name="radio" /><label for="radio11">Choice 1</label>
- <input type="radio" id="radio12" name="radio" checked="checked" /><label for="radio12">Choice 2</label>
- <input type="radio" id="radio13" name="radio" /><label for="radio13">Choice 3</label>
- </div>
- </form>
- <form>
- <div id="radio2" style="margin-top: 2em;">
- <input type="radio" id="radio21" name="radio" /><label for="radio21">Choice 1</label>
- <input type="radio" id="radio22" name="radio" /><label for="radio22">Choice 2</label>
- <input type="radio" id="radio23" name="radio" checked="checked" /><label for="radio23">Choice 3</label>
- </div>
- </form>
-
- <input type="checkbox" id="check" /><label for="check">Toggle</label>
+</form>
+<form>
+ <div id="radio2" style="margin-top: 2em;">
+ <input type="radio" id="radio21" name="radio"><label for="radio21">Choice 1</label>
+ <input type="radio" id="radio22" name="radio"><label for="radio22">Choice 2</label>
+ <input type="radio" id="radio23" name="radio" checked="checked"><label for="radio23">Choice 3</label>
+ </div>
+</form>
- <div><input id="submit" type="submit" value="Label" /></div>
-</div>
+<input type="checkbox" id="check"><label for="check">Toggle</label>
+<div><input id="submit" type="submit" value="Label"></div>
+
+</div>
</body>
</html>
diff --git a/tests/unit/core/core.html b/tests/unit/core/core.html
index 4c1186271..affd094d8 100644
--- a/tests/unit/core/core.html
+++ b/tests/unit/core/core.html
@@ -1,26 +1,29 @@
-<!DOCTYPE html>
+<!doctype html>
<html lang="en">
<head>
- <meta charset="UTF-8" />
+ <meta charset="utf-8">
<title>jQuery UI Core Test Suite</title>
<script src="../../jquery.js"></script>
- <script type="text/javascript" src="../../../ui/jquery.ui.core.js"></script>
- <script type="text/javascript" src="../../../ui/jquery.ui.widget.js"></script>
-
- <link rel="stylesheet" href="../../../external/qunit.css" type="text/css"/>
- <script type="text/javascript" src="../../../external/qunit.js"></script>
- <script type="text/javascript" src="../../jquery.simulate.js"></script>
- <script type="text/javascript" src="../testsuite.js"></script>
-
- <script type="text/javascript" src="core.js"></script>
- <script type="text/javascript" src="selector.js"></script>
-
- <script type="text/javascript" src="../swarminject.js"></script>
-
- <style type="text/css">
- .zindex {z-index: 100}
- .absolute {position: absolute}
+ <script src="../../../ui/jquery.ui.core.js"></script>
+ <script src="../../../ui/jquery.ui.widget.js"></script>
+
+ <link rel="stylesheet" href="../../../external/qunit.css">
+ <script src="../../../external/qunit.js"></script>
+ <script src="../../jquery.simulate.js"></script>
+ <script src="../testsuite.js"></script>
+
+ <script src="core.js"></script>
+ <script src="selector.js"></script>
+
+ <script src="../swarminject.js"></script>
+ <style>
+ .zindex {
+ z-index: 100;
+ }
+ .absolute {
+ position: absolute;
+ }
</style>
</head>
<body>
@@ -29,98 +32,96 @@
<h2 id="qunit-banner"></h2>
<div id="qunit-testrunner-toolbar"></div>
<h2 id="qunit-userAgent"></h2>
-<ol id="qunit-tests">
-</ol>
-
+<ol id="qunit-tests"></ol>
<div id="qunit-fixture">
- <img src="../images/jqueryui_32x32.png" usemap="#mymap" width="10", height="10">
- <map name="mymap">
- <area shape="rect" coords="0,0,1,1" id="areaCoordsNoHref">
- <area shape="rect" coords="1,1,2,2" href="foo.html" id="areaCoordsHref">
- <area shape="rect" coords="0,0,0,0" href="foo.html" id="areaCoordsNoSizeHref">
- <area href="foo.html" id="areaNoCoordsHref">
- </map>
- <map name="mymap2">
- <area shape="rect" coords="1,1,2,2" href="foo.html" id="areaNoImg">
- </map>
-
- <div>
- <input id="visibleAncestor-inputTypeNone" />
- <input type="text" id="visibleAncestor-inputTypeText" />
- <input type="checkbox" id="visibleAncestor-inputTypeCheckbox" />
- <input type="radio" id="visibleAncestor-inputTypeRadio" />
- <input type="button" id="visibleAncestor-inputTypeButton" />
- <input type="hidden" id="visibleAncestor-inputTypeHidden" />
- <button id="visibleAncestor-button">x</button>
- <select id="visibleAncestor-select">
- <option>option</option>
- </select>
- <textarea id="visibleAncestor-textarea">x</textarea>
- <object id="visibleAncestor-object" codebase="about:blank">xxx</object>
- <a href="#" id="visibleAncestor-anchorWithHref">anchor</a>
- <a id="visibleAncestor-anchorWithoutHref">anchor</a>
- <span id="visibleAncestor-span">x</span>
- <div id="visibleAncestor-div">x</div>
- <span id="visibleAncestor-spanWithTabindex" tabindex="1">x</span>
- <div id="visibleAncestor-divWithNegativeTabindex" tabindex="-1">x</div>
- </div>
-
- <div>
- <input id="disabledElement-inputTypeNone" disabled="disabled" />
- <input type="text" id="disabledElement-inputTypeText" disabled="disabled" />
- <input type="checkbox" id="disabledElement-inputTypeCheckbox" disabled="disabled" />
- <input type="radio" id="disabledElement-inputTypeRadio" disabled="disabled" />
- <input type="button" id="disabledElement-inputTypeButton" disabled="disabled" />
- <input type="hidden" id="disabledElement-inputTypeHidden" disabled="disabled" />
- <button id="disabledElement-button" disabled="disabled"></button>
- <select id="disabledElement-select" disabled="disabled"></select>
- <textarea id="disabledElement-textarea" disabled="disabled"></textarea>
- </div>
-
- <div>
- <div id="displayNoneAncestor" style="display: none;">
- <input id="displayNoneAncestor-input" />
- <span tabindex="1" id="displayNoneAncestor-span">.</span>
- </div>
-
- <div id="visibilityHiddenAncestor" style="visibility: hidden;">
- <input id="visibilityHiddenAncestor-input" />
- <span tabindex="1" id="visibilityHiddenAncestor-span">.</span>
- </div>
-
- <span tabindex="1" id="displayNone-span" style="display: none;">.</span>
- <span tabindex="1" id="visibilityHidden-span" style="visibility: hidden;">.</span>
-
- <input id="displayNone-input" style="display: none;" />
- <input id="visibilityHidden-input" style="visibility: hidden;" />
- </div>
-
- <div>
- <input id="inputTabindex0" tabindex="0" />
- <input id="inputTabindex10" tabindex="10" />
- <input id="inputTabindex-1" tabindex="-1" />
- <input id="inputTabindex-50" tabindex="-50" />
-
- <span id="spanTabindex0" tabindex="0">.</span>
- <span id="spanTabindex10" tabindex="10">.</span>
- <span id="spanTabindex-1" tabindex="-1">.</span>
- <span id="spanTabindex-50" tabindex="-50">.</span>
- </div>
-
- <div id="zIndex100" style="z-index: 100; position: absolute">
- <div id="zIndexAutoWithParent">.</div>
- </div>
- <div id="zIndex100ViaCSS" class="zindex">
- <div id="zIndexAutoWithParentViaCSS">.</div>
+<img src="../images/jqueryui_32x32.png" usemap="#mymap" width="10", height="10">
+<map name="mymap">
+ <area shape="rect" coords="0,0,1,1" id="areaCoordsNoHref">
+ <area shape="rect" coords="1,1,2,2" href="foo.html" id="areaCoordsHref">
+ <area shape="rect" coords="0,0,0,0" href="foo.html" id="areaCoordsNoSizeHref">
+ <area href="foo.html" id="areaNoCoordsHref">
+</map>
+<map name="mymap2">
+ <area shape="rect" coords="1,1,2,2" href="foo.html" id="areaNoImg">
+</map>
+
+<div>
+ <input id="visibleAncestor-inputTypeNone" />
+ <input type="text" id="visibleAncestor-inputTypeText" />
+ <input type="checkbox" id="visibleAncestor-inputTypeCheckbox" />
+ <input type="radio" id="visibleAncestor-inputTypeRadio" />
+ <input type="button" id="visibleAncestor-inputTypeButton" />
+ <input type="hidden" id="visibleAncestor-inputTypeHidden" />
+ <button id="visibleAncestor-button">x</button>
+ <select id="visibleAncestor-select">
+ <option>option</option>
+ </select>
+ <textarea id="visibleAncestor-textarea">x</textarea>
+ <object id="visibleAncestor-object" codebase="about:blank">xxx</object>
+ <a href="#" id="visibleAncestor-anchorWithHref">anchor</a>
+ <a id="visibleAncestor-anchorWithoutHref">anchor</a>
+ <span id="visibleAncestor-span">x</span>
+ <div id="visibleAncestor-div">x</div>
+ <span id="visibleAncestor-spanWithTabindex" tabindex="1">x</span>
+ <div id="visibleAncestor-divWithNegativeTabindex" tabindex="-1">x</div>
+</div>
+
+<div>
+ <input id="disabledElement-inputTypeNone" disabled="disabled" />
+ <input type="text" id="disabledElement-inputTypeText" disabled="disabled" />
+ <input type="checkbox" id="disabledElement-inputTypeCheckbox" disabled="disabled" />
+ <input type="radio" id="disabledElement-inputTypeRadio" disabled="disabled" />
+ <input type="button" id="disabledElement-inputTypeButton" disabled="disabled" />
+ <input type="hidden" id="disabledElement-inputTypeHidden" disabled="disabled" />
+ <button id="disabledElement-button" disabled="disabled"></button>
+ <select id="disabledElement-select" disabled="disabled"></select>
+ <textarea id="disabledElement-textarea" disabled="disabled"></textarea>
+</div>
+
+<div>
+ <div id="displayNoneAncestor" style="display: none;">
+ <input id="displayNoneAncestor-input" />
+ <span tabindex="1" id="displayNoneAncestor-span">.</span>
</div>
- <div id="zIndex100ViaCSSPositioned" class="zindex absolute">
- <div id="zIndexAutoWithParentViaCSSPositioned">.</div>
+
+ <div id="visibilityHiddenAncestor" style="visibility: hidden;">
+ <input id="visibilityHiddenAncestor-input" />
+ <span tabindex="1" id="visibilityHiddenAncestor-span">.</span>
</div>
- <div id="zIndexAutoNoParent"></div>
-
- <div id="dimensions" style="float: left; height: 50px; width: 100px; margin: 1px 12px 11px 2px; border-style: solid; border-width: 3px 14px 13px 4px; padding: 5px 16px 15px 6px;"></div>
+
+ <span tabindex="1" id="displayNone-span" style="display: none;">.</span>
+ <span tabindex="1" id="visibilityHidden-span" style="visibility: hidden;">.</span>
+
+ <input id="displayNone-input" style="display: none;" />
+ <input id="visibilityHidden-input" style="visibility: hidden;" />
+</div>
+
+<div>
+ <input id="inputTabindex0" tabindex="0" />
+ <input id="inputTabindex10" tabindex="10" />
+ <input id="inputTabindex-1" tabindex="-1" />
+ <input id="inputTabindex-50" tabindex="-50" />
+
+ <span id="spanTabindex0" tabindex="0">.</span>
+ <span id="spanTabindex10" tabindex="10">.</span>
+ <span id="spanTabindex-1" tabindex="-1">.</span>
+ <span id="spanTabindex-50" tabindex="-50">.</span>
</div>
+<div id="zIndex100" style="z-index: 100; position: absolute">
+ <div id="zIndexAutoWithParent">.</div>
+</div>
+<div id="zIndex100ViaCSS" class="zindex">
+ <div id="zIndexAutoWithParentViaCSS">.</div>
+</div>
+<div id="zIndex100ViaCSSPositioned" class="zindex absolute">
+ <div id="zIndexAutoWithParentViaCSSPositioned">.</div>
+</div>
+<div id="zIndexAutoNoParent"></div>
+
+<div id="dimensions" style="float: left; height: 50px; width: 100px; margin: 1px 12px 11px 2px; border-style: solid; border-width: 3px 14px 13px 4px; padding: 5px 16px 15px 6px;"></div>
+
+</div>
</body>
</html>
diff --git a/tests/unit/datepicker/datepicker.html b/tests/unit/datepicker/datepicker.html
index 51b61f603..108023372 100644
--- a/tests/unit/datepicker/datepicker.html
+++ b/tests/unit/datepicker/datepicker.html
@@ -1,32 +1,33 @@
-<!DOCTYPE html>
+<!doctype html>
<html lang="en">
<head>
- <meta charset="UTF-8" />
+ <meta charset="utf-8">
<title>jQuery UI Datepicker Test Suite</title>
- <link type="text/css" href="../../../themes/base/jquery.ui.datepicker.css" rel="stylesheet" />
+ <link rel="stylesheet" href="../../../themes/base/jquery.ui.core.css">
+ <link rel="stylesheet" href="../../../themes/base/jquery.ui.datepicker.css">
<script src="../../jquery.js"></script>
- <script type="text/javascript" src="../../../ui/jquery.ui.core.js"></script>
- <script type="text/javascript" src="../../../ui/jquery.ui.widget.js"></script>
- <script type="text/javascript" src="../../../ui/jquery.ui.datepicker.js"></script>
- <script type="text/javascript" src="../../../ui/i18n/jquery.ui.datepicker-fr.js"></script>
- <script type="text/javascript" src="../../../ui/i18n/jquery.ui.datepicker-he.js"></script>
- <script type="text/javascript" src="../../../ui/i18n/jquery.ui.datepicker-zh-CN.js"></script>
-
- <link rel="stylesheet" href="../../../external/qunit.css" type="text/css"/>
- <script type="text/javascript" src="../../../external/qunit.js"></script>
- <script type="text/javascript" src="../../jquery.simulate.js"></script>
- <script type="text/javascript" src="../testsuite.js"></script>
-
- <script type="text/javascript" src="datepicker_core.js"></script>
- <script type="text/javascript" src="datepicker_defaults.js"></script>
- <script type="text/javascript" src="datepicker_events.js"></script>
- <script type="text/javascript" src="datepicker_methods.js"></script>
- <script type="text/javascript" src="datepicker_options.js"></script>
- <script type="text/javascript" src="datepicker_tickets.js"></script>
-
- <script type="text/javascript">
+ <script src="../../../ui/jquery.ui.core.js"></script>
+ <script src="../../../ui/jquery.ui.widget.js"></script>
+ <script src="../../../ui/jquery.ui.datepicker.js"></script>
+ <script src="../../../ui/i18n/jquery.ui.datepicker-fr.js"></script>
+ <script src="../../../ui/i18n/jquery.ui.datepicker-he.js"></script>
+ <script src="../../../ui/i18n/jquery.ui.datepicker-zh-CN.js"></script>
+
+ <link rel="stylesheet" href="../../../external/qunit.css">
+ <script src="../../../external/qunit.js"></script>
+ <script src="../../jquery.simulate.js"></script>
+ <script src="../testsuite.js"></script>
+
+ <script src="datepicker_core.js"></script>
+ <script src="datepicker_defaults.js"></script>
+ <script src="datepicker_events.js"></script>
+ <script src="datepicker_methods.js"></script>
+ <script src="datepicker_options.js"></script>
+ <script src="datepicker_tickets.js"></script>
+
+ <script>
// disable this stale testsuite for testswarm only
var url = window.location.search;
url = decodeURIComponent( url.slice( url.indexOf("swarmURL=") + 9 ) );
@@ -36,7 +37,7 @@
test("datepicker", function() { ok(true, "disabled datepicker testsuite"); });
}
</script>
- <script type="text/javascript" src="../swarminject.js"></script>
+ <script src="../swarminject.js"></script>
</head>
<body>
@@ -44,13 +45,12 @@
<h2 id="qunit-banner"></h2>
<div id="qunit-testrunner-toolbar"></div>
<h2 id="qunit-userAgent"></h2>
-<ol id="qunit-tests">
-</ol>
-
+<ol id="qunit-tests"></ol>
<div id="qunit-fixture">
- <p><input type="text" id="inp"/><input type="text" id="alt"/><div id="inl"></div></p>
- <p><input type="text" id="inp2"/></p>
-</div>
+<div><input type="text" id="inp"><input type="text" id="alt"><div id="inl"></div></div>
+<p><input type="text" id="inp2"></p>
+
+</div>
</body>
</html>
diff --git a/tests/unit/dialog/dialog.html b/tests/unit/dialog/dialog.html
index 1840e2c4a..b35ae5823 100644
--- a/tests/unit/dialog/dialog.html
+++ b/tests/unit/dialog/dialog.html
@@ -1,34 +1,35 @@
-<!DOCTYPE html>
+<!doctype html>
<html lang="en">
<head>
- <meta charset="UTF-8" />
+ <meta charset="utf-8">
<title>jQuery UI Dialog Test Suite</title>
- <link type="text/css" href="../../../themes/base/jquery.ui.dialog.css" rel="stylesheet" />
+ <link rel="stylesheet" href="../../../themes/base/jquery.ui.core.css">
+ <link rel="stylesheet" href="../../../themes/base/jquery.ui.dialog.css">
<script src="../../jquery.js"></script>
- <script type="text/javascript" src="../../../external/jquery.bgiframe-2.1.2.js"></script>
- <script type="text/javascript" src="../../../ui/jquery.ui.core.js"></script>
- <script type="text/javascript" src="../../../ui/jquery.ui.widget.js"></script>
- <script type="text/javascript" src="../../../ui/jquery.ui.mouse.js"></script>
- <script type="text/javascript" src="../../../ui/jquery.ui.draggable.js"></script>
- <script type="text/javascript" src="../../../ui/jquery.ui.position.js"></script>
- <script type="text/javascript" src="../../../ui/jquery.ui.resizable.js"></script>
- <script type="text/javascript" src="../../../ui/jquery.ui.dialog.js"></script>
+ <script src="../../../external/jquery.bgiframe-2.1.2.js"></script>
+ <script src="../../../ui/jquery.ui.core.js"></script>
+ <script src="../../../ui/jquery.ui.widget.js"></script>
+ <script src="../../../ui/jquery.ui.mouse.js"></script>
+ <script src="../../../ui/jquery.ui.draggable.js"></script>
+ <script src="../../../ui/jquery.ui.position.js"></script>
+ <script src="../../../ui/jquery.ui.resizable.js"></script>
+ <script src="../../../ui/jquery.ui.dialog.js"></script>
- <link rel="stylesheet" href="../../../external/qunit.css" type="text/css"/>
- <script type="text/javascript" src="../../../external/qunit.js"></script>
- <script type="text/javascript" src="../../jquery.simulate.js"></script>
- <script type="text/javascript" src="../testsuite.js"></script>
-
- <script type="text/javascript" src="dialog_core.js"></script>
- <script type="text/javascript" src="dialog_defaults.js"></script>
- <script type="text/javascript" src="dialog_events.js"></script>
- <script type="text/javascript" src="dialog_methods.js"></script>
- <script type="text/javascript" src="dialog_options.js"></script>
- <script type="text/javascript" src="dialog_tickets.js"></script>
-
- <script type="text/javascript">
+ <link rel="stylesheet" href="../../../external/qunit.css">
+ <script src="../../../external/qunit.js"></script>
+ <script src="../../jquery.simulate.js"></script>
+ <script src="../testsuite.js"></script>
+
+ <script src="dialog_core.js"></script>
+ <script src="dialog_defaults.js"></script>
+ <script src="dialog_events.js"></script>
+ <script src="dialog_methods.js"></script>
+ <script src="dialog_options.js"></script>
+ <script src="dialog_tickets.js"></script>
+
+ <script>
// disable this testsuite for testswarm only - until we fix it from freezing IE6
var url = window.location.search;
url = decodeURIComponent( url.slice( url.indexOf("swarmURL=") + 9 ) );
@@ -38,8 +39,7 @@
test("dialog", function() { ok(true, "disabled dialog testsuite"); });
}
</script>
-
- <script type="text/javascript" src="../swarminject.js"></script>
+ <script src="../swarminject.js"></script>
</head>
<body>
@@ -47,11 +47,9 @@
<h2 id="qunit-banner"></h2>
<div id="qunit-testrunner-toolbar"></div>
<h2 id="qunit-userAgent"></h2>
-<ol id="qunit-tests">
-</ol>
-
+<ol id="qunit-tests"></ol>
<div id="qunit-fixture">
-</div>
+</div>
</body>
</html>
diff --git a/tests/unit/draggable/draggable.html b/tests/unit/draggable/draggable.html
index f9d3ee7a9..e5006bf17 100644
--- a/tests/unit/draggable/draggable.html
+++ b/tests/unit/draggable/draggable.html
@@ -1,27 +1,27 @@
-<!DOCTYPE html>
+<!doctype html>
<html lang="en">
<head>
- <meta charset="UTF-8" />
+ <meta charset="utf-8">
<title>jQuery UI Draggable Test Suite</title>
<script src="../../jquery.js"></script>
- <script type="text/javascript" src="../../../ui/jquery.ui.core.js"></script>
- <script type="text/javascript" src="../../../ui/jquery.ui.widget.js"></script>
- <script type="text/javascript" src="../../../ui/jquery.ui.mouse.js"></script>
- <script type="text/javascript" src="../../../ui/jquery.ui.draggable.js"></script>
+ <script src="../../../ui/jquery.ui.core.js"></script>
+ <script src="../../../ui/jquery.ui.widget.js"></script>
+ <script src="../../../ui/jquery.ui.mouse.js"></script>
+ <script src="../../../ui/jquery.ui.draggable.js"></script>
- <link rel="stylesheet" href="../../../external/qunit.css" type="text/css"/>
- <script type="text/javascript" src="../../../external/qunit.js"></script>
- <script type="text/javascript" src="../../jquery.simulate.js"></script>
- <script type="text/javascript" src="../testsuite.js"></script>
+ <link rel="stylesheet" href="../../../external/qunit.css">
+ <script src="../../../external/qunit.js"></script>
+ <script src="../../jquery.simulate.js"></script>
+ <script src="../testsuite.js"></script>
- <script type="text/javascript" src="draggable_core.js"></script>
- <script type="text/javascript" src="draggable_defaults.js"></script>
- <script type="text/javascript" src="draggable_events.js"></script>
- <script type="text/javascript" src="draggable_methods.js"></script>
- <script type="text/javascript" src="draggable_options.js"></script>
-
- <script type="text/javascript">
+ <script src="draggable_core.js"></script>
+ <script src="draggable_defaults.js"></script>
+ <script src="draggable_events.js"></script>
+ <script src="draggable_methods.js"></script>
+ <script src="draggable_options.js"></script>
+
+ <script>
// disable this stale testsuite for testswarm only
var url = window.location.search;
url = decodeURIComponent( url.slice( url.indexOf("swarmURL=") + 9 ) );
@@ -31,7 +31,7 @@
test("draggable", function() { ok(true, "disabled draggable testsuite"); });
}
</script>
- <script type="text/javascript" src="../swarminject.js"></script>
+ <script src="../swarminject.js"></script>
</head>
<body>
@@ -39,15 +39,14 @@
<h2 id="qunit-banner"></h2>
<div id="qunit-testrunner-toolbar"></div>
<h2 id="qunit-userAgent"></h2>
-<ol id="qunit-tests">
-</ol>
-
+<ol id="qunit-tests"></ol>
<div id="qunit-fixture">
- <div id="draggable1" style="background: green; width: 200px; height: 100px;">Relative</div>
- <div id="draggable2" style="background: green; width: 200px; height: 100px; position: absolute; top: 10px; left: 10px;"><span>Absolute</span></div>
- <div style='width: 1px; height: 1000px;'></div>
- <div style="position: absolute; width: 1px; height: 2000px;"></div>
-</div>
+<div id="draggable1" style="background: green; width: 200px; height: 100px;">Relative</div>
+<div id="draggable2" style="background: green; width: 200px; height: 100px; position: absolute; top: 10px; left: 10px;"><span>Absolute</span></div>
+<div style='width: 1px; height: 1000px;'></div>
+<div style="position: absolute; width: 1px; height: 2000px;"></div>
+
+</div>
</body>
</html>
diff --git a/tests/unit/droppable/droppable.html b/tests/unit/droppable/droppable.html
index 80edfa4b0..149430bcf 100644
--- a/tests/unit/droppable/droppable.html
+++ b/tests/unit/droppable/droppable.html
@@ -1,28 +1,28 @@
-<!DOCTYPE html>
+<!doctype html>
<html lang="en">
<head>
- <meta charset="UTF-8" />
+ <meta charset="utf-8">
<title>jQuery UI Droppable Test Suite</title>
<script src="../../jquery.js"></script>
- <script type="text/javascript" src="../../../ui/jquery.ui.core.js"></script>
- <script type="text/javascript" src="../../../ui/jquery.ui.widget.js"></script>
- <script type="text/javascript" src="../../../ui/jquery.ui.mouse.js"></script>
- <script type="text/javascript" src="../../../ui/jquery.ui.draggable.js"></script>
- <script type="text/javascript" src="../../../ui/jquery.ui.droppable.js"></script>
+ <script src="../../../ui/jquery.ui.core.js"></script>
+ <script src="../../../ui/jquery.ui.widget.js"></script>
+ <script src="../../../ui/jquery.ui.mouse.js"></script>
+ <script src="../../../ui/jquery.ui.draggable.js"></script>
+ <script src="../../../ui/jquery.ui.droppable.js"></script>
- <link rel="stylesheet" href="../../../external/qunit.css" type="text/css"/>
- <script type="text/javascript" src="../../../external/qunit.js"></script>
- <script type="text/javascript" src="../../jquery.simulate.js"></script>
- <script type="text/javascript" src="../testsuite.js"></script>
-
- <script type="text/javascript" src="droppable_core.js"></script>
- <script type="text/javascript" src="droppable_defaults.js"></script>
- <script type="text/javascript" src="droppable_events.js"></script>
- <script type="text/javascript" src="droppable_methods.js"></script>
- <script type="text/javascript" src="droppable_options.js"></script>
-
- <script type="text/javascript">
+ <link rel="stylesheet" href="../../../external/qunit.css">
+ <script src="../../../external/qunit.js"></script>
+ <script src="../../jquery.simulate.js"></script>
+ <script src="../testsuite.js"></script>
+
+ <script src="droppable_core.js"></script>
+ <script src="droppable_defaults.js"></script>
+ <script src="droppable_events.js"></script>
+ <script src="droppable_methods.js"></script>
+ <script src="droppable_options.js"></script>
+
+ <script>
// disable this stale testsuite for testswarm only
var url = window.location.search;
url = decodeURIComponent( url.slice( url.indexOf("swarmURL=") + 9 ) );
@@ -32,7 +32,7 @@
test("droppable", function() { ok(true, "disabled droppable testsuite"); });
}
</script>
- <script type="text/javascript" src="../swarminject.js"></script>
+ <script src="../swarminject.js"></script>
</head>
<body>
@@ -40,14 +40,13 @@
<h2 id="qunit-banner"></h2>
<div id="qunit-testrunner-toolbar"></div>
<h2 id="qunit-userAgent"></h2>
-<ol id="qunit-tests">
-</ol>
-
+<ol id="qunit-tests"></ol>
<div id="qunit-fixture">
- <div id="draggable1" style="width: 25px; height: 25px;">Draggable</div>
- <div id="droppable1" style="width: 100px; height: 100px;">Droppable</div>
- <div style='width:1000px;height:1000px;'>&nbsp;</div>
-</div>
+<div id="draggable1" style="width: 25px; height: 25px;">Draggable</div>
+<div id="droppable1" style="width: 100px; height: 100px;">Droppable</div>
+<div style='width:1000px;height:1000px;'>&nbsp;</div>
+
+</div>
</body>
</html>
diff --git a/tests/unit/effects/effects.html b/tests/unit/effects/effects.html
index 659495476..f2c447ef7 100644
--- a/tests/unit/effects/effects.html
+++ b/tests/unit/effects/effects.html
@@ -31,8 +31,7 @@
<script src="effects_scale.js"></script>
<script src="../swarminject.js"></script>
-
- <style type="text/css">
+ <style>
#qunit-fixture {
width: 1000px;
height: 1000px;
@@ -84,20 +83,18 @@
<h2 id="qunit-banner"></h2>
<div id="qunit-testrunner-toolbar"></div>
<h2 id="qunit-userAgent"></h2>
-<ol id="qunit-tests">
-</ol>
-
+<ol id="qunit-tests"></ol>
<div id="qunit-fixture">
- <div class="hidden test"></div>
- <div class="animateClass test">
- <h2>Child Element Test</h2>
- </div>
- <div class="relWidth relHeight testAddBorder">
- <h2>Slide with relative width</h2>
- </div>
- <div class="testScale">
- </div>
+<div class="hidden test"></div>
+<div class="animateClass test">
+ <h2>Child Element Test</h2>
+</div>
+<div class="relWidth relHeight testAddBorder">
+ <h2>Slide with relative width</h2>
+</div>
+<div class="testScale">
</div>
+</div>
</body>
</html>
diff --git a/tests/unit/menu/menu.html b/tests/unit/menu/menu.html
index e1f79b0f9..551d171bd 100644
--- a/tests/unit/menu/menu.html
+++ b/tests/unit/menu/menu.html
@@ -1,52 +1,53 @@
-<!DOCTYPE html>
+<!doctype html>
<html lang="en">
<head>
- <meta charset="UTF-8" />
+ <meta charset="utf-8">
<title>jQuery UI Menu Test Suite</title>
- <link rel="stylesheet" href="../../../themes/base/jquery.ui.all.css" type="text/css" title="ui-theme" />
+ <link rel="stylesheet" href="../../../themes/base/jquery.ui.all.css">
<script src="../../jquery.js"></script>
- <script type="text/javascript" src="../../../ui/jquery.ui.core.js"></script>
- <script type="text/javascript" src="../../../ui/jquery.ui.widget.js"></script>
- <script type="text/javascript" src="../../../ui/jquery.ui.menu.js"></script>
-
- <link rel="stylesheet" href="../../../external/qunit.css" type="text/css"/>
- <script type="text/javascript" src="../../../external/qunit.js"></script>
- <script type="text/javascript" src="../../jquery.simulate.js"></script>
- <script type="text/javascript" src="../testsuite.js"></script>
-
- <script type="text/javascript">
-
- function log(message,clear) {
- if (clear && clear === true) {
- $("#log").html("");
- }
- if ( message === undefined ) {
- message = $("#log").data("lastItem");
- }
- $("#log").prepend( message + "," );
+ <script src="../../../ui/jquery.ui.core.js"></script>
+ <script src="../../../ui/jquery.ui.widget.js"></script>
+ <script src="../../../ui/jquery.ui.menu.js"></script>
+
+ <link rel="stylesheet" href="../../../external/qunit.css">
+ <script src="../../../external/qunit.js"></script>
+ <script src="../../jquery.simulate.js"></script>
+ <script src="../testsuite.js"></script>
+
+ <script>
+ function log(message,clear) {
+ if (clear && clear === true) {
+ $("#log").html("");
}
- function clickMenu(menu,item) {
- $("#log").data("lastItem",item);
- $('li:eq(' + item + ') a',menu).trigger("click");
+ if ( message === undefined ) {
+ message = $("#log").data("lastItem");
}
-
-
+ $("#log").prepend( message + "," );
+ }
+ function clickMenu(menu,item) {
+ $("#log").data("lastItem",item);
+ $('li:eq(' + item + ') a',menu).trigger("click");
+ }
</script>
- <script type="text/javascript" src="menu_core.js"></script>
- <script type="text/javascript" src="menu_defaults.js"></script>
- <script type="text/javascript" src="menu_events.js"></script>
- <script type="text/javascript" src="menu_methods.js"></script>
- <script type="text/javascript" src="menu_options.js"></script>
+ <script src="menu_core.js"></script>
+ <script src="menu_defaults.js"></script>
+ <script src="menu_events.js"></script>
+ <script src="menu_methods.js"></script>
+ <script src="menu_options.js"></script>
<script type="text/javascript" src="../swarminject.js"></script>
-
<style>
- #qunit-fixture { font-size: 10pt; font-family: 'trebuchet ms', verdana, arial; }
- #list, #list1 *, #navigation, #navigation * { margin: 0; padding: 0; font-size: 12px; }
- #menu3 { height: 250px; overflow: auto; }
- #menu4, #menu4 ul { height: 250px; overflow: auto; }
+ #qunit-fixture { font-size: 10pt; font-family: "trebuchet ms", verdana, arial; }
+ #menu3 {
+ height: 250px;
+ overflow: auto;
+ }
+ #menu4, #menu4 ul {
+ height: 250px;
+ overflow: auto;
+ }
</style>
</head>
<body>
@@ -55,10 +56,7 @@
<h2 id="qunit-banner"></h2>
<div id="qunit-testrunner-toolbar"></div>
<h2 id="qunit-userAgent"></h2>
-<ol id="qunit-tests">
-</ol>
-
-
+<ol id="qunit-tests"></ol>
<div id="qunit-fixture">
<ul class="foo" id="menu1">
@@ -224,6 +222,5 @@
<div id="log"></div>
</div>
-
</body>
</html>
diff --git a/tests/unit/position/position.html b/tests/unit/position/position.html
index 3df9d465c..a47e91004 100644
--- a/tests/unit/position/position.html
+++ b/tests/unit/position/position.html
@@ -1,4 +1,4 @@
-<!DOCTYPE html>
+<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
@@ -62,8 +62,5 @@ elements smaller than 10px have a line-height set on them to avoid a bug in IE6
</div>
</div>
-
-
-
</body>
</html>
diff --git a/tests/unit/position/position_deprecated.html b/tests/unit/position/position_deprecated.html
index 9d595e48e..16d88ea2e 100644
--- a/tests/unit/position/position_deprecated.html
+++ b/tests/unit/position/position_deprecated.html
@@ -1,4 +1,4 @@
-<!DOCTYPE html>
+<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
@@ -23,8 +23,7 @@
<h2 id="qunit-banner"></h2>
<div id="qunit-testrunner-toolbar"></div>
<h2 id="qunit-userAgent"></h2>
-<ol id="qunit-tests">
-</ol>
+<ol id="qunit-tests"></ol>
<!--
elements smaller than 10px have a line-height set on them to avoid a bug in IE6
diff --git a/tests/unit/progressbar/progressbar.html b/tests/unit/progressbar/progressbar.html
index d3f9b033d..b708af265 100644
--- a/tests/unit/progressbar/progressbar.html
+++ b/tests/unit/progressbar/progressbar.html
@@ -1,28 +1,29 @@
-<!DOCTYPE html>
+<!doctype html>
<html lang="en">
<head>
- <meta charset="UTF-8" />
+ <meta charset="utf-8">
<title>jQuery UI Progressbar Test Suite</title>
- <link type="text/css" href="../../../themes/base/jquery.ui.progressbar.css" rel="stylesheet" />
+ <link rel="stylesheet" href="../../../themes/base/jquery.ui.core.css">
+ <link rel="stylesheet" href="../../../themes/base/jquery.ui.progressbar.css">
<script src="../../jquery.js"></script>
- <script type="text/javascript" src="../../../ui/jquery.ui.core.js"></script>
- <script type="text/javascript" src="../../../ui/jquery.ui.widget.js"></script>
- <script type="text/javascript" src="../../../ui/jquery.ui.progressbar.js"></script>
-
- <link rel="stylesheet" href="../../../external/qunit.css" type="text/css"/>
- <script type="text/javascript" src="../../../external/qunit.js"></script>
- <script type="text/javascript" src="../../jquery.simulate.js"></script>
- <script type="text/javascript" src="../testsuite.js"></script>
-
- <script type="text/javascript" src="progressbar_core.js"></script>
- <script type="text/javascript" src="progressbar_defaults.js"></script>
- <script type="text/javascript" src="progressbar_events.js"></script>
- <script type="text/javascript" src="progressbar_methods.js"></script>
- <script type="text/javascript" src="progressbar_options.js"></script>
-
- <script type="text/javascript" src="../swarminject.js"></script>
+ <script src="../../../ui/jquery.ui.core.js"></script>
+ <script src="../../../ui/jquery.ui.widget.js"></script>
+ <script src="../../../ui/jquery.ui.progressbar.js"></script>
+
+ <link rel="stylesheet" href="../../../external/qunit.css">
+ <script src="../../../external/qunit.js"></script>
+ <script src="../../jquery.simulate.js"></script>
+ <script src="../testsuite.js"></script>
+
+ <script src="progressbar_core.js"></script>
+ <script src="progressbar_defaults.js"></script>
+ <script src="progressbar_events.js"></script>
+ <script src="progressbar_methods.js"></script>
+ <script src="progressbar_options.js"></script>
+
+ <script src="../swarminject.js"></script>
</head>
<body>
@@ -30,12 +31,11 @@
<h2 id="qunit-banner"></h2>
<div id="qunit-testrunner-toolbar"></div>
<h2 id="qunit-userAgent"></h2>
-<ol id="qunit-tests">
-</ol>
-
+<ol id="qunit-tests"></ol>
<div id="qunit-fixture">
- <div id="progressbar"></div>
-</div>
+<div id="progressbar"></div>
+
+</div>
</body>
</html>
diff --git a/tests/unit/resizable/resizable.html b/tests/unit/resizable/resizable.html
index e29e94b16..f1b2f1bc3 100644
--- a/tests/unit/resizable/resizable.html
+++ b/tests/unit/resizable/resizable.html
@@ -1,29 +1,30 @@
-<!DOCTYPE html>
+<!doctype html>
<html lang="en">
<head>
- <meta charset="UTF-8" />
+ <meta charset="utf-8">
<title>jQuery UI Resizable Test Suite</title>
- <link type="text/css" href="../../../themes/base/jquery.ui.resizable.css" rel="stylesheet" />
+ <link rel="stylesheet" href="../../../themes/base/jquery.ui.core.css">
+ <link rel="stylesheet" href="../../../themes/base/jquery.ui.resizable.css">
<script src="../../jquery.js"></script>
- <script type="text/javascript" src="../../../ui/jquery.ui.core.js"></script>
- <script type="text/javascript" src="../../../ui/jquery.ui.widget.js"></script>
- <script type="text/javascript" src="../../../ui/jquery.ui.mouse.js"></script>
- <script type="text/javascript" src="../../../ui/jquery.ui.resizable.js"></script>
-
- <link rel="stylesheet" href="../../../external/qunit.css" type="text/css"/>
- <script type="text/javascript" src="../../../external/qunit.js"></script>
- <script type="text/javascript" src="../../jquery.simulate.js"></script>
- <script type="text/javascript" src="../testsuite.js"></script>
-
- <script type="text/javascript" src="resizable_core.js"></script>
- <script type="text/javascript" src="resizable_defaults.js"></script>
- <script type="text/javascript" src="resizable_events.js"></script>
- <script type="text/javascript" src="resizable_methods.js"></script>
- <script type="text/javascript" src="resizable_options.js"></script>
-
- <script type="text/javascript">
+ <script src="../../../ui/jquery.ui.core.js"></script>
+ <script src="../../../ui/jquery.ui.widget.js"></script>
+ <script src="../../../ui/jquery.ui.mouse.js"></script>
+ <script src="../../../ui/jquery.ui.resizable.js"></script>
+
+ <link rel="stylesheet" href="../../../external/qunit.css">
+ <script src="../../../external/qunit.js"></script>
+ <script src="../../jquery.simulate.js"></script>
+ <script src="../testsuite.js"></script>
+
+ <script src="resizable_core.js"></script>
+ <script src="resizable_defaults.js"></script>
+ <script src="resizable_events.js"></script>
+ <script src="resizable_methods.js"></script>
+ <script src="resizable_options.js"></script>
+
+ <script>
// disable this stale testsuite for testswarm only
var url = window.location.search;
url = decodeURIComponent( url.slice( url.indexOf("swarmURL=") + 9 ) );
@@ -33,7 +34,7 @@
test("resizable", function() { ok(true, "disabled resizable testsuite"); });
}
</script>
- <script type="text/javascript" src="../swarminject.js"></script>
+ <script src="../swarminject.js"></script>
</head>
<body>
@@ -41,13 +42,12 @@
<h2 id="qunit-banner"></h2>
<div id="qunit-testrunner-toolbar"></div>
<h2 id="qunit-userAgent"></h2>
-<ol id="qunit-tests">
-</ol>
-
+<ol id="qunit-tests"></ol>
<div id="qunit-fixture">
- <div id="resizable1" style="background: green; width: 100px; height: 100px;">I'm a resizable.</div>
- <img src="images/test.jpg" id="resizable2" style="width: 100px; height: 100px;"/>
-</div>
+<div id="resizable1" style="background: green; width: 100px; height: 100px;">I'm a resizable.</div>
+<img src="images/test.jpg" id="resizable2" style="width: 100px; height: 100px;">
+
+</div>
</body>
</html>
diff --git a/tests/unit/selectable/selectable.html b/tests/unit/selectable/selectable.html
index 95501eaa9..4d6150691 100644
--- a/tests/unit/selectable/selectable.html
+++ b/tests/unit/selectable/selectable.html
@@ -1,27 +1,27 @@
-<!DOCTYPE html>
+<!doctype html>
<html lang="en">
<head>
- <meta charset="UTF-8" />
+ <meta charset="utf-8">
<title>jQuery UI Selectable Test Suite</title>
<script src="../../jquery.js"></script>
- <script type="text/javascript" src="../../../ui/jquery.ui.core.js"></script>
- <script type="text/javascript" src="../../../ui/jquery.ui.widget.js"></script>
- <script type="text/javascript" src="../../../ui/jquery.ui.mouse.js"></script>
- <script type="text/javascript" src="../../../ui/jquery.ui.selectable.js"></script>
+ <script src="../../../ui/jquery.ui.core.js"></script>
+ <script src="../../../ui/jquery.ui.widget.js"></script>
+ <script src="../../../ui/jquery.ui.mouse.js"></script>
+ <script src="../../../ui/jquery.ui.selectable.js"></script>
- <link rel="stylesheet" href="../../../external/qunit.css" type="text/css"/>
- <script type="text/javascript" src="../../../external/qunit.js"></script>
- <script type="text/javascript" src="../../jquery.simulate.js"></script>
- <script type="text/javascript" src="../testsuite.js"></script>
+ <link rel="stylesheet" href="../../../external/qunit.css">
+ <script src="../../../external/qunit.js"></script>
+ <script src="../../jquery.simulate.js"></script>
+ <script src="../testsuite.js"></script>
- <script type="text/javascript" src="selectable_core.js"></script>
- <script type="text/javascript" src="selectable_defaults.js"></script>
- <script type="text/javascript" src="selectable_events.js"></script>
- <script type="text/javascript" src="selectable_methods.js"></script>
- <script type="text/javascript" src="selectable_options.js"></script>
-
- <script type="text/javascript">
+ <script src="selectable_core.js"></script>
+ <script src="selectable_defaults.js"></script>
+ <script src="selectable_events.js"></script>
+ <script src="selectable_methods.js"></script>
+ <script src="selectable_options.js"></script>
+
+ <script>
// disable this stale testsuite for testswarm only
var url = window.location.search;
url = decodeURIComponent( url.slice( url.indexOf("swarmURL=") + 9 ) );
@@ -31,7 +31,7 @@
test("selectable", function() { ok(true, "disabled selectable testsuite"); });
}
</script>
- <script type="text/javascript" src="../swarminject.js"></script>
+ <script src="../swarminject.js"></script>
</head>
<body>
@@ -39,18 +39,17 @@
<h2 id="qunit-banner"></h2>
<div id="qunit-testrunner-toolbar"></div>
<h2 id="qunit-userAgent"></h2>
-<ol id="qunit-tests">
-</ol>
-
+<ol id="qunit-tests"></ol>
<div id="qunit-fixture">
- <ul id="selectable1">
- <li>Item 1</li>
- <li>Item 2</li>
- <li class="special">Item 3</li>
- <li>Item 4</li>
- <li>Item 5</li>
- </ul>
-</div>
+<ul id="selectable1">
+ <li>Item 1</li>
+ <li>Item 2</li>
+ <li class="special">Item 3</li>
+ <li>Item 4</li>
+ <li>Item 5</li>
+</ul>
+
+</div>
</body>
</html>
diff --git a/tests/unit/slider/slider.html b/tests/unit/slider/slider.html
index 962dadc40..3fe3b3588 100644
--- a/tests/unit/slider/slider.html
+++ b/tests/unit/slider/slider.html
@@ -1,29 +1,29 @@
-<!DOCTYPE html>
+<!doctype html>
<html lang="en">
<head>
- <meta charset="UTF-8" />
+ <meta charset="utf-8">
<title>jQuery UI Slider Test Suite</title>
- <link type="text/css" href="../../../themes/base/jquery.ui.slider.css" rel="stylesheet" />
+ <link rel="stylesheet" href="../../../themes/base/jquery.ui.slider.css">
<script src="../../jquery.js"></script>
- <script type="text/javascript" src="../../../ui/jquery.ui.core.js"></script>
- <script type="text/javascript" src="../../../ui/jquery.ui.widget.js"></script>
- <script type="text/javascript" src="../../../ui/jquery.ui.mouse.js"></script>
- <script type="text/javascript" src="../../../ui/jquery.ui.slider.js"></script>
-
- <link rel="stylesheet" href="../../../external/qunit.css" type="text/css"/>
- <script type="text/javascript" src="../../../external/qunit.js"></script>
- <script type="text/javascript" src="../../jquery.simulate.js"></script>
- <script type="text/javascript" src="../testsuite.js"></script>
-
- <script type="text/javascript" src="slider_core.js"></script>
- <script type="text/javascript" src="slider_defaults.js"></script>
- <script type="text/javascript" src="slider_events.js"></script>
- <script type="text/javascript" src="slider_methods.js"></script>
- <script type="text/javascript" src="slider_options.js"></script>
-
- <script type="text/javascript">
+ <script src="../../../ui/jquery.ui.core.js"></script>
+ <script src="../../../ui/jquery.ui.widget.js"></script>
+ <script src="../../../ui/jquery.ui.mouse.js"></script>
+ <script src="../../../ui/jquery.ui.slider.js"></script>
+
+ <link rel="stylesheet" href="../../../external/qunit.css">
+ <script src="../../../external/qunit.js"></script>
+ <script src="../../jquery.simulate.js"></script>
+ <script src="../testsuite.js"></script>
+
+ <script src="slider_core.js"></script>
+ <script src="slider_defaults.js"></script>
+ <script src="slider_events.js"></script>
+ <script src="slider_methods.js"></script>
+ <script src="slider_options.js"></script>
+
+ <script>
// disable this stale testsuite for testswarm only
var url = window.location.search;
url = decodeURIComponent( url.slice( url.indexOf("swarmURL=") + 9 ) );
@@ -33,7 +33,7 @@
test("slider", function() { ok(true, "disabled slider testsuite"); });
}
</script>
- <script type="text/javascript" src="../swarminject.js"></script>
+ <script src="../swarminject.js"></script>
</head>
<body>
@@ -41,15 +41,14 @@
<h2 id="qunit-banner"></h2>
<div id="qunit-testrunner-toolbar"></div>
<h2 id="qunit-userAgent"></h2>
-<ol id="qunit-tests">
-</ol>
-
+<ol id="qunit-tests"></ol>
<div id="qunit-fixture">
- <div id="slider1"></div>
- <div id="slider3" style="position: relative; margin: 40px; width: 217px; height: 28px;">
- <div class="ui-slider-handle" style="position: absolute; height: 21px; left: 0px; bottom: 0px; width: 17px;"></div>
- </div>
+
+<div id="slider1"></div>
+<div id="slider3" style="position: relative; margin: 40px; width: 217px; height: 28px;">
+ <div class="ui-slider-handle" style="position: absolute; height: 21px; left: 0px; bottom: 0px; width: 17px;"></div>
</div>
+</div>
</body>
</html>
diff --git a/tests/unit/sortable/sortable.html b/tests/unit/sortable/sortable.html
index ee03e1344..40eed6652 100644
--- a/tests/unit/sortable/sortable.html
+++ b/tests/unit/sortable/sortable.html
@@ -1,28 +1,28 @@
-<!DOCTYPE html>
+<!doctype html>
<html lang="en">
<head>
- <meta charset="UTF-8" />
+ <meta charset="utf-8">
<title>jQuery UI Sortable Test Suite</title>
<script src="../../jquery.js"></script>
- <script type="text/javascript" src="../../../ui/jquery.ui.core.js"></script>
- <script type="text/javascript" src="../../../ui/jquery.ui.widget.js"></script>
- <script type="text/javascript" src="../../../ui/jquery.ui.mouse.js"></script>
- <script type="text/javascript" src="../../../ui/jquery.ui.sortable.js"></script>
+ <script src="../../../ui/jquery.ui.core.js"></script>
+ <script src="../../../ui/jquery.ui.widget.js"></script>
+ <script src="../../../ui/jquery.ui.mouse.js"></script>
+ <script src="../../../ui/jquery.ui.sortable.js"></script>
- <link rel="stylesheet" href="../../../external/qunit.css" type="text/css"/>
- <script type="text/javascript" src="../../../external/qunit.js"></script>
- <script type="text/javascript" src="../../jquery.simulate.js"></script>
- <script type="text/javascript" src="../testsuite.js"></script>
+ <link rel="stylesheet" href="../../../external/qunit.css">
+ <script src="../../../external/qunit.js"></script>
+ <script src="../../jquery.simulate.js"></script>
+ <script src="../testsuite.js"></script>
- <script type="text/javascript" src="sortable_core.js"></script>
- <script type="text/javascript" src="sortable_defaults.js"></script>
- <script type="text/javascript" src="sortable_events.js"></script>
- <script type="text/javascript" src="sortable_methods.js"></script>
- <script type="text/javascript" src="sortable_options.js"></script>
- <script type="text/javascript" src="sortable_tickets.js"></script>
-
- <script type="text/javascript">
+ <script src="sortable_core.js"></script>
+ <script src="sortable_defaults.js"></script>
+ <script src="sortable_events.js"></script>
+ <script src="sortable_methods.js"></script>
+ <script src="sortable_options.js"></script>
+ <script src="sortable_tickets.js"></script>
+
+ <script>
// disable this stale testsuite for testswarm only
var url = window.location.search;
url = decodeURIComponent( url.slice( url.indexOf("swarmURL=") + 9 ) );
@@ -32,7 +32,7 @@
test("sortable", function() { ok(true, "disabled sortable testsuite"); });
}
</script>
- <script type="text/javascript" src="../swarminject.js"></script>
+ <script src="../swarminject.js"></script>
</head>
<body>
@@ -40,18 +40,17 @@
<h2 id="qunit-banner"></h2>
<div id="qunit-testrunner-toolbar"></div>
<h2 id="qunit-userAgent"></h2>
-<ol id="qunit-tests">
-</ol>
-
+<ol id="qunit-tests"></ol>
<div id="qunit-fixture">
- <ul id="sortable">
- <li>Item 1</li>
- <li>Item 2</li>
- <li>Item 3</li>
- <li>Item 4</li>
- <li>Item 5</li>
- </ul>
-</div>
+<ul id="sortable">
+ <li>Item 1</li>
+ <li>Item 2</li>
+ <li>Item 3</li>
+ <li>Item 4</li>
+ <li>Item 5</li>
+</ul>
+
+</div>
</body>
</html>
diff --git a/tests/unit/spinner/spinner.html b/tests/unit/spinner/spinner.html
index b3807a439..b59275e5f 100644
--- a/tests/unit/spinner/spinner.html
+++ b/tests/unit/spinner/spinner.html
@@ -1,46 +1,44 @@
<!doctype html>
<html lang="en">
<head>
+ <meta charset="utf-8">
<title>jQuery UI Spinner Test Suite</title>
- <link type="text/css" href="../../../themes/base/jquery.ui.spinner.css" rel="stylesheet" />
-
- <script src="../../jquery.js"></script>
- <script type="text/javascript" src="../../../external/jquery.mousewheel-3.0.4.js"></script>
- <script type="text/javascript" src="../../../external/jquery.global.js"></script>
- <script type="text/javascript" src="../../../ui/jquery.ui.core.js"></script>
- <script type="text/javascript" src="../../../ui/jquery.ui.widget.js"></script>
- <script type="text/javascript" src="../../../ui/jquery.ui.button.js"></script>
- <script type="text/javascript" src="../../../ui/jquery.ui.spinner.js"></script>
-
- <link rel="stylesheet" href="../../../external/qunit.css" type="text/css"/>
- <script type="text/javascript" src="../../../external/qunit.js"></script>
- <script type="text/javascript" src="../../jquery.simulate.js"></script>
- <script type="text/javascript" src="../testsuite.js"></script>
-
- <script type="text/javascript" src="spinner_core.js"></script>
- <script type="text/javascript" src="spinner_defaults.js"></script>
- <script type="text/javascript" src="spinner_events.js"></script>
- <script type="text/javascript" src="spinner_methods.js"></script>
- <script type="text/javascript" src="spinner_options.js"></script>
-
- <script type="text/javascript" src="../swarminject.js"></script>
+ <link rel="stylesheet" href="../../../themes/base/jquery.ui.spinner.css">
+ <script src="../../jquery.js"></script>
+ <script src="../../../external/jquery.mousewheel-3.0.4.js"></script>
+ <script src="../../../external/jquery.global.js"></script>
+ <script src="../../../ui/jquery.ui.core.js"></script>
+ <script src="../../../ui/jquery.ui.widget.js"></script>
+ <script src="../../../ui/jquery.ui.button.js"></script>
+ <script src="../../../ui/jquery.ui.spinner.js"></script>
+
+ <link rel="stylesheet" href="../../../external/qunit.css">
+ <script src="../../../external/qunit.js"></script>
+ <script src="../../jquery.simulate.js"></script>
+ <script src="../testsuite.js"></script>
+
+ <script src="spinner_core.js"></script>
+ <script src="spinner_defaults.js"></script>
+ <script src="spinner_events.js"></script>
+ <script src="spinner_methods.js"></script>
+ <script src="spinner_options.js"></script>
+
+ <script src="../swarminject.js"></script>
</head>
<body>
-
<h1 id="qunit-header">jQuery UI Spinner Test Suite</h1>
<h2 id="qunit-banner"></h2>
<div id="qunit-testrunner-toolbar"></div>
<h2 id="qunit-userAgent"></h2>
-<ol id="qunit-tests">
-</ol>
-
+<ol id="qunit-tests"></ol>
<div id="qunit-fixture">
- <input id="spin" class="foo">
- <input id="spin2" value="2">
-</div>
+<input id="spin" class="foo">
+<input id="spin2" value="2">
+
+</div>
</body>
</html>
diff --git a/tests/unit/widget/widget.html b/tests/unit/widget/widget.html
index eae47f4a1..7ae41f264 100644
--- a/tests/unit/widget/widget.html
+++ b/tests/unit/widget/widget.html
@@ -25,9 +25,7 @@
<h2 id="qunit-banner"></h2>
<div id="qunit-testrunner-toolbar"></div>
<h2 id="qunit-userAgent"></h2>
-<ol id="qunit-tests">
-</ol>
-
+<ol id="qunit-tests"></ol>
<div id="qunit-fixture">
<div id="widget-wrapper">
@@ -37,6 +35,5 @@
</div>
</div>
-
</body>
</html>