aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--tests/static/icons.html67
-rw-r--r--tests/unit/core/core.html6
-rw-r--r--tests/unit/resizable/resizable.html2
-rw-r--r--tests/unit/tabs/tabs.html1
-rw-r--r--tests/unit/tabs/tabs_deprecated.html1
-rw-r--r--tests/visual/button/button_disabled_true.html2
-rw-r--r--tests/visual/position/position_fit.html40
-rw-r--r--tests/visual/position/position_flip.html22
-rw-r--r--tests/visual/position/position_flipfit.html28
9 files changed, 119 insertions, 50 deletions
diff --git a/tests/static/icons.html b/tests/static/icons.html
index adaf5f1cd..d3ae3e348 100644
--- a/tests/static/icons.html
+++ b/tests/static/icons.html
@@ -49,6 +49,12 @@
<td><div class="ui-state-default ui-corner-all" title=".ui-icon-carat-1-nw"><span class="ui-icon ui-icon-carat-1-nw"></span></div></td>
<td><div class="ui-state-default ui-corner-all" title=".ui-icon-carat-2-n-s"><span class="ui-icon ui-icon-carat-2-n-s"></span></div></td>
<td><div class="ui-state-default ui-corner-all" title=".ui-icon-carat-2-e-w"><span class="ui-icon ui-icon-carat-2-e-w"></span></div></td>
+ <td></td>
+ <td></td>
+ <td></td>
+ <td></td>
+ <td></td>
+ <td></td>
</tr>
<tr>
<td><div class="ui-state-default ui-corner-all" title=".ui-icon-triangle-1-n"><span class="ui-icon ui-icon-triangle-1-n"></span></div></td>
@@ -61,6 +67,12 @@
<td><div class="ui-state-default ui-corner-all" title=".ui-icon-triangle-1-nw"><span class="ui-icon ui-icon-triangle-1-nw"></span></div></td>
<td><div class="ui-state-default ui-corner-all" title=".ui-icon-triangle-2-n-s"><span class="ui-icon ui-icon-triangle-2-n-s"></span></div></td>
<td><div class="ui-state-default ui-corner-all" title=".ui-icon-triangle-2-e-w"><span class="ui-icon ui-icon-triangle-2-e-w"></span></div></td>
+ <td></td>
+ <td></td>
+ <td></td>
+ <td></td>
+ <td></td>
+ <td></td>
</tr>
<tr>
<td><div class="ui-state-default ui-corner-all" title=".ui-icon-arrow-1-n"><span class="ui-icon ui-icon-arrow-1-n"></span></div></td>
@@ -111,6 +123,10 @@
<td><div class="ui-state-default ui-corner-all" title=".ui-icon-arrowrefresh-1-n"><span class="ui-icon ui-icon-arrowrefresh-1-n"></span></div></td>
<td><div class="ui-state-default ui-corner-all" title=".ui-icon-arrowrefresh-1-e"><span class="ui-icon ui-icon-arrowrefresh-1-e"></span></div></td>
<td><div class="ui-state-default ui-corner-all" title=".ui-icon-arrowrefresh-1-s"><span class="ui-icon ui-icon-arrowrefresh-1-s"></span></div></td>
+ <td></td>
+ <td></td>
+ <td></td>
+ <td></td>
</tr>
<tr>
<td><div class="ui-state-default ui-corner-all" title=".ui-icon-arrow-4"><span class="ui-icon ui-icon-arrow-4"></span></div></td>
@@ -121,6 +137,14 @@
<td><div class="ui-state-default ui-corner-all" title=".ui-icon-shuffle"><span class="ui-icon ui-icon-shuffle"></span></div></td>
<td><div class="ui-state-default ui-corner-all" title=".ui-icon-transfer-e-w"><span class="ui-icon ui-icon-transfer-e-w"></span></div></td>
<td><div class="ui-state-default ui-corner-all" title=".ui-icon-transferthick-e-w"><span class="ui-icon ui-icon-transferthick-e-w"></span></div></td>
+ <td></td>
+ <td></td>
+ <td></td>
+ <td></td>
+ <td></td>
+ <td></td>
+ <td></td>
+ <td></td>
</tr>
<tr>
<td><div class="ui-state-default ui-corner-all" title=".ui-icon-folder-collapsed"><span class="ui-icon ui-icon-folder-collapsed"></span></div></td>
@@ -187,6 +211,12 @@
<td><div class="ui-state-default ui-corner-all" title=".ui-icon-radio-on"><span class="ui-icon ui-icon-radio-on"></span></div></td>
<td><div class="ui-state-default ui-corner-all" title=".ui-icon-pin-w"><span class="ui-icon ui-icon-pin-w"></span></div></td>
<td><div class="ui-state-default ui-corner-all" title=".ui-icon-pin-s"><span class="ui-icon ui-icon-pin-s"></span></div></td>
+ <td></td>
+ <td></td>
+ <td></td>
+ <td></td>
+ <td></td>
+ <td></td>
</tr>
<tr>
<td><div class="ui-state-default ui-corner-all" title=".ui-icon-play"><span class="ui-icon ui-icon-play"></span></div></td>
@@ -199,6 +229,12 @@
<td><div class="ui-state-default ui-corner-all" title=".ui-icon-eject"><span class="ui-icon ui-icon-eject"></span></div></td>
<td><div class="ui-state-default ui-corner-all" title=".ui-icon-volume-off"><span class="ui-icon ui-icon-volume-off"></span></div></td>
<td><div class="ui-state-default ui-corner-all" title=".ui-icon-volume-on"><span class="ui-icon ui-icon-volume-on"></span></div></td>
+ <td></td>
+ <td></td>
+ <td></td>
+ <td></td>
+ <td></td>
+ <td></td>
</tr>
<tr>
<td><div class="ui-state-default ui-corner-all" title=".ui-icon-power"><span class="ui-icon ui-icon-power"></span></div></td>
@@ -208,6 +244,15 @@
<td><div class="ui-state-default ui-corner-all" title=".ui-icon-battery-1"><span class="ui-icon ui-icon-battery-1"></span></div></td>
<td><div class="ui-state-default ui-corner-all" title=".ui-icon-battery-2"><span class="ui-icon ui-icon-battery-2"></span></div></td>
<td><div class="ui-state-default ui-corner-all" title=".ui-icon-battery-3"><span class="ui-icon ui-icon-battery-3"></span></div></td>
+ <td></td>
+ <td></td>
+ <td></td>
+ <td></td>
+ <td></td>
+ <td></td>
+ <td></td>
+ <td></td>
+ <td></td>
</tr>
<tr>
<td><div class="ui-state-default ui-corner-all" title=".ui-icon-circle-plus"><span class="ui-icon ui-icon-circle-plus"></span></div></td>
@@ -224,6 +269,8 @@
<td><div class="ui-state-default ui-corner-all" title=".ui-icon-circle-zoomin"><span class="ui-icon ui-icon-circle-zoomin"></span></div></td>
<td><div class="ui-state-default ui-corner-all" title=".ui-icon-circle-zoomout"><span class="ui-icon ui-icon-circle-zoomout"></span></div></td>
<td><div class="ui-state-default ui-corner-all" title=".ui-icon-circle-check"><span class="ui-icon ui-icon-circle-check"></span></div></td>
+ <td></td>
+ <td></td>
</tr>
<tr>
<td><div class="ui-state-default ui-corner-all" title=".ui-icon-circlesmall-plus"><span class="ui-icon ui-icon-circlesmall-plus"></span></div></td>
@@ -232,6 +279,16 @@
<td><div class="ui-state-default ui-corner-all" title=".ui-icon-squaresmall-plus"><span class="ui-icon ui-icon-squaresmall-plus"></span></div></td>
<td><div class="ui-state-default ui-corner-all" title=".ui-icon-squaresmall-minus"><span class="ui-icon ui-icon-squaresmall-minus"></span></div></td>
<td><div class="ui-state-default ui-corner-all" title=".ui-icon-squaresmall-close"><span class="ui-icon ui-icon-squaresmall-close"></span></div></td>
+ <td></td>
+ <td></td>
+ <td></td>
+ <td></td>
+ <td></td>
+ <td></td>
+ <td></td>
+ <td></td>
+ <td></td>
+ <td></td>
</tr>
<tr>
<td><div class="ui-state-default ui-corner-all" title=".ui-icon-grip-dotted-vertical"><span class="ui-icon ui-icon-grip-dotted-vertical"></span></div></td>
@@ -240,6 +297,16 @@
<td><div class="ui-state-default ui-corner-all" title=".ui-icon-grip-solid-horizontal"><span class="ui-icon ui-icon-grip-solid-horizontal"></span></div></td>
<td><div class="ui-state-default ui-corner-all" title=".ui-icon-gripsmall-diagonal-se"><span class="ui-icon ui-icon-gripsmall-diagonal-se"></span></div></td>
<td><div class="ui-state-default ui-corner-all" title=".ui-icon-grip-diagonal-se"><span class="ui-icon ui-icon-grip-diagonal-se"></span></div></td>
+ <td></td>
+ <td></td>
+ <td></td>
+ <td></td>
+ <td></td>
+ <td></td>
+ <td></td>
+ <td></td>
+ <td></td>
+ <td></td>
</tr>
</table>
diff --git a/tests/unit/core/core.html b/tests/unit/core/core.html
index 272b15d2c..09b024835 100644
--- a/tests/unit/core/core.html
+++ b/tests/unit/core/core.html
@@ -54,14 +54,14 @@
<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="button" id="visibleAncestor-inputTypeButton" value="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>
+ <object id="visibleAncestor-object" data="about:blank" type="text/html">xxx</object>
<a href="#" id="visibleAncestor-anchorWithHref">anchor</a>
<a id="visibleAncestor-anchorWithoutHref">anchor</a>
<span id="visibleAncestor-span">x</span>
@@ -75,7 +75,7 @@
<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="button" id="disabledElement-inputTypeButton" disabled="disabled" value="disabledElement-inputTypeButton">
<input type="hidden" id="disabledElement-inputTypeHidden" disabled="disabled">
<button id="disabledElement-button" disabled="disabled"></button>
<select id="disabledElement-select" disabled="disabled"></select>
diff --git a/tests/unit/resizable/resizable.html b/tests/unit/resizable/resizable.html
index 9baa67493..558574c5f 100644
--- a/tests/unit/resizable/resizable.html
+++ b/tests/unit/resizable/resizable.html
@@ -49,7 +49,7 @@
<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;">
+<img src="images/test.jpg" id="resizable2" style="width: 100px; height: 100px;" alt="solid gray">
</div>
</body>
diff --git a/tests/unit/tabs/tabs.html b/tests/unit/tabs/tabs.html
index fc7bfeedf..b961c60f3 100644
--- a/tests/unit/tabs/tabs.html
+++ b/tests/unit/tabs/tabs.html
@@ -62,6 +62,7 @@
</ul>
<div id="colon:test"></div>
<div style="height: 300px;" id="inline-style"></div>
+ <div id="custom-id"></div>
</div>
<div id="tabs3">
diff --git a/tests/unit/tabs/tabs_deprecated.html b/tests/unit/tabs/tabs_deprecated.html
index 0c7611c9d..09afc91b4 100644
--- a/tests/unit/tabs/tabs_deprecated.html
+++ b/tests/unit/tabs/tabs_deprecated.html
@@ -61,6 +61,7 @@
</ul>
<div id="colon:test"></div>
<div style="height: 300px;" id="inline-style"></div>
+ <div id="custom-id"></div>
</div>
<div id="tabs3">
diff --git a/tests/visual/button/button_disabled_true.html b/tests/visual/button/button_disabled_true.html
index 25388a484..83a3e9cd6 100644
--- a/tests/visual/button/button_disabled_true.html
+++ b/tests/visual/button/button_disabled_true.html
@@ -46,7 +46,7 @@
<fieldset>
<legend>anchor</legend>
- <a href="javascript:void(0)" disabled="disabled">anchor 1</a>
+ <a href="javascript:void(0)">anchor 1</a> # Attribute "disabled" not allowed on element "a" at this point.
<hr />
<a href="javascript:void(0)" id="anchor1">anchor 1</a>
</fieldset>
diff --git a/tests/visual/position/position_fit.html b/tests/visual/position/position_fit.html
index dbd52550f..acb2672bc 100644
--- a/tests/visual/position/position_fit.html
+++ b/tests/visual/position/position_fit.html
@@ -16,8 +16,8 @@
$("ul").insertAfter(inputs);
inputs.each(function(index) {
$(this).position({
- my: this.id.replace(/-/, " "),
- at: this.id.replace(/-/, " "),
+ my: $(this).data("position").replace(/-/, " "),
+ at: $(this).data("position").replace(/-/, " "),
of: "#container"+index,
collision: "none"
});
@@ -113,25 +113,25 @@
<div id="container16" class="container2"></div>
<div id="container17" class="container2"></div>
-<input id="left-top" />
-<input id="center-top" />
-<input id="right-top" />
-<input id="left-top" />
-<input id="center-top" />
-<input id="right-top" />
-<input id="left-top" />
-<input id="center-top" />
-<input id="right-top" />
+<input data-position="left-top" />
+<input data-position="center-top" />
+<input data-position="right-top" />
+<input data-position="left-top" />
+<input data-position="center-top" />
+<input data-position="right-top" />
+<input data-position="left-top" />
+<input data-position="center-top" />
+<input data-position="right-top" />
-<input id="left-top" />
-<input id="center-center" />
-<input id="right-bottom" />
-<input id="left-top" />
-<input id="center-center" />
-<input id="right-bottom" />
-<input id="left-top" />
-<input id="center-center" />
-<input id="right-bottom" />
+<input data-position="left-top" />
+<input data-position="center-center" />
+<input data-position="right-bottom" />
+<input data-position="left-top" />
+<input data-position="center-center" />
+<input data-position="right-bottom" />
+<input data-position="left-top" />
+<input data-position="center-center" />
+<input data-position="right-bottom" />
<ul>
<li><a href="#">Java</a></li>
diff --git a/tests/visual/position/position_flip.html b/tests/visual/position/position_flip.html
index 29ad32f96..66f0b243f 100644
--- a/tests/visual/position/position_flip.html
+++ b/tests/visual/position/position_flip.html
@@ -16,8 +16,8 @@
$("ul").insertAfter(inputs);
inputs.each(function(index) {
$(this).position({
- my: this.id.replace(/-/, " "),
- at: this.id.replace(/-/, " "),
+ my: $(this).data("position").replace(/-/, " "),
+ at: $(this).data("position").replace(/-/, " "),
of: "#container"+index,
collision: "none"
});
@@ -52,15 +52,15 @@
<div id="container7" class="container" style="height:100px; margin-bottom: 500px;"></div>
<div id="container8" class="container" style="height:100px; margin-bottom: 500px;"></div>
-<input id="left-top" />
-<input id="center-top" />
-<input id="right-top" />
-<input id="left-center" />
-<input id="center-center" />
-<input id="right-center" />
-<input id="left-bottom" />
-<input id="center-center" />
-<input id="right-bottom" />
+<input data-position="left-top" />
+<input data-position="center-top" />
+<input data-position="right-top" />
+<input data-position="left-center" />
+<input data-position="center-center" />
+<input data-position="right-center" />
+<input data-position="left-bottom" />
+<input data-position="center-center" />
+<input data-position="right-bottom" />
<ul>
<li><a href="#">Java</a></li>
diff --git a/tests/visual/position/position_flipfit.html b/tests/visual/position/position_flipfit.html
index fb99e4007..5139b9b88 100644
--- a/tests/visual/position/position_flipfit.html
+++ b/tests/visual/position/position_flipfit.html
@@ -16,8 +16,8 @@
$("ul").insertAfter(inputs);
inputs.each(function(index) {
$(this).position({
- my: this.id.replace(/-/, " "),
- at: this.id.replace(/-/, " "),
+ my: $(this).data("position").replace(/-/, " "),
+ at: $(this).data("position").replace(/-/, " "),
of: "#container"+index,
collision: "none"
});
@@ -58,18 +58,18 @@
<div id="container10" class="container" style="height:100px; margin-bottom: 500px;"></div>
<div id="container11" class="container" style="height:100px; margin-bottom: 500px;"></div>
-<input id="left-top" />
-<input id="center-top" />
-<input id="right-top" />
-<input id="left-top" />
-<input id="center-top" />
-<input id="right-top" />
-<input id="left-center" />
-<input id="center-center" />
-<input id="right-center" />
-<input id="left-bottom" />
-<input id="center-center" />
-<input id="right-bottom" />
+<input data-position="left-top" />
+<input data-position="center-top" />
+<input data-position="right-top" />
+<input data-position="left-top" />
+<input data-position="center-top" />
+<input data-position="right-top" />
+<input data-position="left-center" />
+<input data-position="center-center" />
+<input data-position="right-center" />
+<input data-position="left-bottom" />
+<input data-position="center-center" />
+<input data-position="right-bottom" />
<ul>
<li><a href="#">Java</a></li>