2011-08-03 21:12:44 +00:00
|
|
|
<!doctype html>
|
2008-09-20 17:30:51 +00:00
|
|
|
<html lang="en">
|
|
|
|
<head>
|
2011-08-03 21:12:44 +00:00
|
|
|
<meta charset="utf-8">
|
2008-09-20 17:30:51 +00:00
|
|
|
<title>jQuery UI Core Test Suite</title>
|
2008-11-18 02:55:25 +00:00
|
|
|
|
2015-04-17 16:13:38 +00:00
|
|
|
<script src="../../../external/requirejs/require.js"></script>
|
2015-04-06 14:56:48 +00:00
|
|
|
<script src="../../lib/css.js"></script>
|
|
|
|
<script src="../../lib/bootstrap.js" data-modules="core selector"></script>
|
2011-08-03 21:12:44 +00:00
|
|
|
<style>
|
|
|
|
.zindex {
|
|
|
|
z-index: 100;
|
|
|
|
}
|
|
|
|
.absolute {
|
|
|
|
position: absolute;
|
|
|
|
}
|
2010-01-29 18:38:21 +00:00
|
|
|
</style>
|
2008-09-20 17:30:51 +00:00
|
|
|
</head>
|
2008-11-22 11:18:31 +00:00
|
|
|
<body>
|
2008-09-20 17:30:51 +00:00
|
|
|
|
2014-02-20 16:02:23 +00:00
|
|
|
<div id="qunit"></div>
|
2011-02-23 11:46:13 +00:00
|
|
|
<div id="qunit-fixture">
|
2010-02-25 11:09:39 +00:00
|
|
|
|
2014-09-03 17:13:25 +00:00
|
|
|
<img src="../../images/jqueryui_32x32.png" usemap="#mymap" width="10" height="10" alt="">
|
2011-08-03 21:12:44 +00:00
|
|
|
<map name="mymap">
|
2012-04-23 16:44:17 +00:00
|
|
|
<area shape="rect" coords="1,1,2,2" href="foo.html" id="areaCoordsHref" alt="">
|
|
|
|
<area href="foo.html" id="areaNoCoordsHref" alt="">
|
2011-08-03 21:12:44 +00:00
|
|
|
</map>
|
|
|
|
<map name="mymap2">
|
2012-04-23 16:44:17 +00:00
|
|
|
<area shape="rect" coords="1,1,2,2" href="foo.html" id="areaNoImg" alt="">
|
2011-08-03 21:12:44 +00:00
|
|
|
</map>
|
|
|
|
|
2014-07-30 14:16:29 +00:00
|
|
|
<form id="formNoTabindex">
|
|
|
|
<input>
|
|
|
|
</form>
|
|
|
|
|
|
|
|
<form id="formTabindex" tabindex="1">
|
|
|
|
<input>
|
|
|
|
</form>
|
2011-08-12 13:37:48 +00:00
|
|
|
|
2016-05-25 12:37:28 +00:00
|
|
|
<form>
|
|
|
|
<fieldset id="enabledFieldset">
|
|
|
|
<input>
|
|
|
|
</fieldset>
|
|
|
|
<fieldset id="disabledFieldset" disabled="disabled">
|
|
|
|
<input>
|
|
|
|
</fieldset>
|
|
|
|
</form>
|
|
|
|
|
2011-08-03 21:12:44 +00:00
|
|
|
<div>
|
2011-08-04 01:43:52 +00:00
|
|
|
<input id="visibleAncestor-inputTypeNone">
|
|
|
|
<input type="text" id="visibleAncestor-inputTypeText">
|
|
|
|
<input type="checkbox" id="visibleAncestor-inputTypeCheckbox">
|
|
|
|
<input type="radio" id="visibleAncestor-inputTypeRadio">
|
2012-04-26 13:47:05 +00:00
|
|
|
<input type="button" id="visibleAncestor-inputTypeButton" value="visibleAncestor-inputTypeButton">
|
2011-08-04 01:43:52 +00:00
|
|
|
<input type="hidden" id="visibleAncestor-inputTypeHidden">
|
2011-08-03 21:12:44 +00:00
|
|
|
<button id="visibleAncestor-button">x</button>
|
|
|
|
<select id="visibleAncestor-select">
|
|
|
|
<option>option</option>
|
|
|
|
</select>
|
|
|
|
<textarea id="visibleAncestor-textarea">x</textarea>
|
2012-04-30 12:57:00 +00:00
|
|
|
<object id="visibleAncestor-object" codebase="about:blank">xxx</object>
|
2011-08-03 21:12:44 +00:00
|
|
|
<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>
|
2011-08-04 01:43:52 +00:00
|
|
|
<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">
|
2012-04-26 13:47:05 +00:00
|
|
|
<input type="button" id="disabledElement-inputTypeButton" disabled="disabled" value="disabledElement-inputTypeButton">
|
2011-08-04 01:43:52 +00:00
|
|
|
<input type="hidden" id="disabledElement-inputTypeHidden" disabled="disabled">
|
2011-08-03 21:12:44 +00:00
|
|
|
<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;">
|
2011-08-04 01:43:52 +00:00
|
|
|
<input id="displayNoneAncestor-input">
|
2011-08-03 21:12:44 +00:00
|
|
|
<span tabindex="1" id="displayNoneAncestor-span">.</span>
|
2010-01-29 18:38:21 +00:00
|
|
|
</div>
|
2011-08-03 21:12:44 +00:00
|
|
|
|
|
|
|
<div id="visibilityHiddenAncestor" style="visibility: hidden;">
|
2011-08-04 01:43:52 +00:00
|
|
|
<input id="visibilityHiddenAncestor-input">
|
2011-08-03 21:12:44 +00:00
|
|
|
<span tabindex="1" id="visibilityHiddenAncestor-span">.</span>
|
2015-08-04 23:46:58 +00:00
|
|
|
|
2015-09-25 14:33:58 +00:00
|
|
|
<span id="nestedVisibilityOverrideAncestor" style="visibility: visible;">
|
2015-08-04 23:46:58 +00:00
|
|
|
<input id="nestedVisibilityOverrideAncestor-input">
|
|
|
|
<span tabindex="1" id="nestedVisibilityOverrideAncestor-span">.</span>
|
|
|
|
</span>
|
2015-09-25 14:33:58 +00:00
|
|
|
|
|
|
|
<span tabIndex="1" id="nestedVisibilityInheritWithHiddenAncestor"
|
|
|
|
style="visibility: inherit;">.</span>
|
|
|
|
<input id="nestedVisibilityInheritWithHiddenAncestor-input" style="visibility: inherit;">
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div id="visibilityVisibleAncestor" style="visibility: visible;">
|
|
|
|
<span tabIndex="1" id="nestedVisibilityInheritWithVisibleAncestor"
|
|
|
|
style="visibility: inherit;">.</span>
|
|
|
|
<input id="nestedVisibilityInheritWithVisibleAncestor-input" style="visibility: inherit;">
|
2010-01-29 18:38:21 +00:00
|
|
|
</div>
|
2011-08-03 21:12:44 +00:00
|
|
|
|
|
|
|
<span tabindex="1" id="displayNone-span" style="display: none;">.</span>
|
|
|
|
<span tabindex="1" id="visibilityHidden-span" style="visibility: hidden;">.</span>
|
2020-10-14 21:53:11 +00:00
|
|
|
<span tabindex="1" id="visibilityCollapse-span" style="visibility: collapse;">.</span>
|
2011-08-03 21:12:44 +00:00
|
|
|
|
2011-08-04 01:43:52 +00:00
|
|
|
<input id="displayNone-input" style="display: none;">
|
|
|
|
<input id="visibilityHidden-input" style="visibility: hidden;">
|
2020-10-14 21:53:11 +00:00
|
|
|
<input id="visibilityCollapse-input" style="visibility: collapse;">
|
|
|
|
|
|
|
|
<table>
|
|
|
|
<tr>
|
|
|
|
<td tabindex="1" id="visibilityCollapse-td" style="visibility: collapse;">.</td>
|
|
|
|
</tr>
|
|
|
|
</table>
|
2011-08-03 21:12:44 +00:00
|
|
|
</div>
|
|
|
|
|
|
|
|
<div>
|
2011-08-04 01:43:52 +00:00
|
|
|
<input id="inputTabindex0" tabindex="0">
|
|
|
|
<input id="inputTabindex10" tabindex="10">
|
|
|
|
<input id="inputTabindex-1" tabindex="-1">
|
|
|
|
<input id="inputTabindex-50" tabindex="-50">
|
2011-08-03 21:12:44 +00:00
|
|
|
|
|
|
|
<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>
|
2008-09-20 17:30:51 +00:00
|
|
|
</div>
|
|
|
|
|
2012-10-23 19:12:54 +00:00
|
|
|
<div style="width: 0; height: 0;">
|
|
|
|
<input id="dimensionlessParent">
|
|
|
|
<input id="dimensionlessParent-dimensionless" style="height: 0; width: 0;">
|
|
|
|
</div>
|
|
|
|
|
2011-08-03 21:12:44 +00:00
|
|
|
<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>
|
|
|
|
|
2015-04-27 03:38:21 +00:00
|
|
|
<div id="labels-fragment">
|
|
|
|
<label for="test">1</label>
|
|
|
|
<div>
|
|
|
|
<div>
|
|
|
|
<form>
|
|
|
|
<label for="test">2</label>
|
|
|
|
<label>3
|
|
|
|
<input id="test">
|
|
|
|
</label>
|
|
|
|
<label for="test">4</label>
|
|
|
|
</form>
|
|
|
|
<label for="test">5</label>
|
|
|
|
</div>
|
|
|
|
<div>
|
|
|
|
<div>
|
|
|
|
<form>
|
|
|
|
<label for="test">6</label>
|
|
|
|
</form>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div>
|
|
|
|
<div>
|
|
|
|
<form>
|
|
|
|
<label for="test">7</label>
|
|
|
|
<label>
|
|
|
|
</label>
|
|
|
|
<label for="test">8</label>
|
|
|
|
</form>
|
|
|
|
<label for="test">9</label>
|
|
|
|
</div>
|
|
|
|
<div>
|
|
|
|
<div>
|
|
|
|
<form>
|
|
|
|
<input id="test-2">
|
|
|
|
<label for="test">10</label>
|
|
|
|
</form>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div id="weird-['x']-id"></div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<!-- This is intentionally outside the test fixture. We don't want this
|
|
|
|
markup to be removed and reinserted between tests, as it will remove saved
|
|
|
|
refrences in the tests. -->
|
|
|
|
<div id="form-test">
|
|
|
|
<input id="body:_implicit_form">
|
|
|
|
<input id="body:_explicit_form" form="form-1">
|
|
|
|
<form id="form-1">
|
|
|
|
<input id="form-1:_implicit_form">
|
|
|
|
<input id="form-1:_explicit_form" form="form-1">
|
|
|
|
</form>
|
|
|
|
<form id="form-2">
|
|
|
|
<input id="form-2:_implicit_form">
|
|
|
|
<input id="form-2:_explicit_form_other_form" form="form-1">
|
|
|
|
</form>
|
|
|
|
</div>
|
|
|
|
<div id="form-test-detached">
|
|
|
|
<input id="fragment:_implicit_form">
|
|
|
|
|
|
|
|
<!-- Support: Chrome > 33
|
|
|
|
When an input with a form attribute is inside a fragment, and not contained by any form,
|
|
|
|
the form property returns the proper form. However resetting the form does not reset the
|
|
|
|
input. The following input is commented out to stop the test from failing in this case.
|
|
|
|
<input id="fragment:_explicit_form" form="form-3">
|
|
|
|
-->
|
|
|
|
<form id="form-3">
|
|
|
|
<input id="form-3:_implicit_form">
|
|
|
|
<input id="form-3:_explicit_form" form="form-3">
|
|
|
|
</form>
|
|
|
|
<form id="form-4">
|
|
|
|
<input id="form-4:_implicit_form">
|
|
|
|
<input id="form-4:_explicit_form_other_form" form="form-3">
|
|
|
|
</form>
|
2011-08-03 21:12:44 +00:00
|
|
|
</div>
|
2008-09-20 17:30:51 +00:00
|
|
|
</body>
|
|
|
|
</html>
|