2011-08-03 21:12:44 +00:00
|
|
|
<!doctype html>
|
2010-05-06 15:10:52 +00:00
|
|
|
<html lang="en">
|
|
|
|
<head>
|
2011-08-03 21:12:44 +00:00
|
|
|
<meta charset="utf-8">
|
2010-05-06 15:10:52 +00:00
|
|
|
<title>jQuery UI Menu Test Suite</title>
|
|
|
|
|
2011-07-28 11:34:31 +00:00
|
|
|
<script src="../../jquery.js"></script>
|
2014-06-10 11:55:45 +00:00
|
|
|
<link rel="stylesheet" href="../../../external/qunit/qunit.css">
|
|
|
|
<script src="../../../external/qunit/qunit.js"></script>
|
2014-08-22 21:01:50 +00:00
|
|
|
<script src="../../../external/jquery-simulate/jquery.simulate.js"></script>
|
2012-04-23 14:43:01 +00:00
|
|
|
<script src="../testsuite.js"></script>
|
2014-12-03 16:24:44 +00:00
|
|
|
<script src="../../../external/qunit-assert-classes/qunit-assert-classes.js"></script>
|
2011-10-28 19:58:33 +00:00
|
|
|
<script>
|
2012-04-23 14:43:01 +00:00
|
|
|
TestHelpers.loadResources({
|
2013-12-02 18:36:12 +00:00
|
|
|
css: [ "core", "menu" ],
|
2011-10-28 19:58:33 +00:00
|
|
|
js: [
|
2013-12-02 18:36:12 +00:00
|
|
|
"ui/core.js",
|
|
|
|
"ui/widget.js",
|
|
|
|
"ui/menu.js"
|
2011-10-28 19:58:33 +00:00
|
|
|
]
|
|
|
|
});
|
|
|
|
</script>
|
2011-08-03 21:12:44 +00:00
|
|
|
|
2011-08-04 01:15:38 +00:00
|
|
|
<script src="menu_test_helpers.js"></script>
|
2012-04-23 14:15:17 +00:00
|
|
|
<script src="menu_common.js"></script>
|
2011-08-03 21:12:44 +00:00
|
|
|
<script src="menu_core.js"></script>
|
|
|
|
<script src="menu_events.js"></script>
|
|
|
|
<script src="menu_methods.js"></script>
|
|
|
|
<script src="menu_options.js"></script>
|
2010-05-06 15:10:52 +00:00
|
|
|
|
2011-08-04 01:15:38 +00:00
|
|
|
<script src="../swarminject.js"></script>
|
2010-05-06 15:10:52 +00:00
|
|
|
<style>
|
2011-08-04 01:15:38 +00:00
|
|
|
.ui-menu {
|
|
|
|
font-size: 15px;
|
2013-11-20 16:14:19 +00:00
|
|
|
line-height: 15px;
|
|
|
|
}
|
2014-10-25 16:18:17 +00:00
|
|
|
.ui-menu .ui-menu-item-wrapper {
|
2013-11-20 16:14:19 +00:00
|
|
|
padding: 0;
|
2011-08-04 01:15:38 +00:00
|
|
|
}
|
2011-08-03 21:12:44 +00:00
|
|
|
#menu3 {
|
|
|
|
height: 250px;
|
|
|
|
overflow: auto;
|
|
|
|
}
|
|
|
|
#menu4, #menu4 ul {
|
|
|
|
height: 250px;
|
|
|
|
overflow: auto;
|
|
|
|
}
|
2010-05-06 15:10:52 +00:00
|
|
|
</style>
|
|
|
|
</head>
|
|
|
|
<body>
|
|
|
|
|
2012-07-12 15:23:33 +00:00
|
|
|
<div id="qunit">jQuery UI Menu Test Suite</div>
|
2011-02-25 09:43:06 +00:00
|
|
|
<div id="qunit-fixture">
|
2010-05-06 15:10:52 +00:00
|
|
|
|
2010-06-18 08:57:20 +00:00
|
|
|
<ul class="foo" id="menu1">
|
2014-12-03 16:24:44 +00:00
|
|
|
<li class="foo"><div>Aberdeen</div>
|
2014-10-25 16:18:17 +00:00
|
|
|
<li class="foo"><div>Ada</div></li>
|
|
|
|
<li class="foo"><div>Adamsville</div></li>
|
|
|
|
<li class="foo"><div id="testID1">Addyston</div></li>
|
|
|
|
<li class="foo"><div>Adelphi</div></li>
|
2010-05-06 15:10:52 +00:00
|
|
|
</ul>
|
2011-07-25 14:13:13 +00:00
|
|
|
|
|
|
|
<ul id="menu2">
|
2014-10-25 16:18:17 +00:00
|
|
|
<li class="foo"><div>Aberdeen</div></li>
|
|
|
|
<li class="foo"><div>Ada</div></li>
|
|
|
|
<li class="foo"><div>Adamsville</div></li>
|
|
|
|
<li class="foo">
|
|
|
|
<div><span class="ui-icon ui-icon-print"></span>Addyston</div>
|
|
|
|
</li>
|
|
|
|
<li>
|
|
|
|
<div>Delphi</div>
|
2011-07-25 14:13:13 +00:00
|
|
|
<ul>
|
2014-10-25 16:18:17 +00:00
|
|
|
<li class="foo"><div>Ada</div></li>
|
|
|
|
<li class="foo"><div>Saarland</div></li>
|
|
|
|
<li class="foo"><div>Salzburg</div></li>
|
2011-07-25 14:13:13 +00:00
|
|
|
</ul>
|
|
|
|
</li>
|
2014-10-25 16:18:17 +00:00
|
|
|
<li class="foo"><div> Saarland</div></li>
|
|
|
|
<li>
|
|
|
|
<div>Salzburg</div>
|
2011-07-25 14:13:13 +00:00
|
|
|
<ul>
|
2014-10-25 16:18:17 +00:00
|
|
|
<li>
|
|
|
|
<div>Delphi</div>
|
2011-07-25 14:13:13 +00:00
|
|
|
<ul>
|
2014-10-25 16:18:17 +00:00
|
|
|
<li class="foo"><div>Ada</div></li>
|
|
|
|
<li class="foo"><div>Saarland</div></li>
|
|
|
|
<li class="foo"><div>Salzburg</div></li>
|
2011-07-25 14:13:13 +00:00
|
|
|
</ul>
|
|
|
|
</li>
|
2014-10-25 16:18:17 +00:00
|
|
|
<li>
|
|
|
|
<div>Delphi</div>
|
2011-07-25 14:13:13 +00:00
|
|
|
<ul>
|
2014-10-25 16:18:17 +00:00
|
|
|
<li class="foo"><div>Ada</div></li>
|
2012-05-25 04:44:51 +00:00
|
|
|
<li> - </li>
|
2014-10-25 16:18:17 +00:00
|
|
|
<li class="foo"><div>Saarland</div></li>
|
2012-05-25 04:44:51 +00:00
|
|
|
<li></li>
|
2014-10-25 16:18:17 +00:00
|
|
|
<li class="foo"><div>Salzburg</div></li>
|
2012-05-25 04:44:51 +00:00
|
|
|
<li>–</li>
|
2011-07-25 14:13:13 +00:00
|
|
|
</ul>
|
|
|
|
</li>
|
2014-10-25 16:18:17 +00:00
|
|
|
<li class="foo"><div>Perch</div></li>
|
2011-07-25 14:13:13 +00:00
|
|
|
</ul>
|
|
|
|
</li>
|
|
|
|
</ul>
|
|
|
|
|
|
|
|
<ul class="foo" id="menu3">
|
2014-10-25 16:18:17 +00:00
|
|
|
<li class="foo"><div>Aberdeen</div></li>
|
|
|
|
<li class="foo"><div>Ada</div></li>
|
|
|
|
<li class="foo"><div>Adamsville</div></li>
|
|
|
|
<li class="foo"><div>Addyston</div></li>
|
|
|
|
<li class="foo"><div>Adelphi</div></li>
|
|
|
|
<li class="foo"><div>Adena</div></li>
|
|
|
|
<li class="foo"><div>Adrian</div></li>
|
|
|
|
<li class="foo"><div>Akron</div></li>
|
|
|
|
<li class="foo"><div>Albany</div></li>
|
|
|
|
<li class="foo"><div>Alexandria</div></li>
|
|
|
|
<li class="foo"><div>Alger</div></li>
|
|
|
|
<li class="foo"><div>Alledonia</div></li>
|
|
|
|
<li class="foo"><div>Alliance</div></li>
|
|
|
|
<li class="foo"><div>Alpha</div></li>
|
|
|
|
<li class="foo"><div>Alvada</div></li>
|
|
|
|
<li class="foo"><div>Alvordton</div></li>
|
|
|
|
<li class="foo"><div>Amanda</div></li>
|
|
|
|
<li class="foo"><div>Amelia</div></li>
|
|
|
|
<li class="foo"><div>Amesville</div></li>
|
|
|
|
<li class="foo"><div>Aberdeen</div></li>
|
|
|
|
<li class="foo"><div>Ada</div></li>
|
|
|
|
<li class="foo"><div>Adamsville</div></li>
|
|
|
|
<li class="foo"><div>Addyston</div></li>
|
|
|
|
<li class="foo"><div>Adelphi</div></li>
|
|
|
|
<li class="foo"><div>Adena</div></li>
|
|
|
|
<li class="foo"><div>Adrian</div></li>
|
|
|
|
<li class="foo"><div>Akron</div></li>
|
|
|
|
<li class="foo"><div>Albany</div></li>
|
|
|
|
<li class="foo"><div>Alexandria</div></li>
|
|
|
|
<li class="foo"><div>Alger</div></li>
|
|
|
|
<li class="foo"><div>Alledonia</div></li>
|
|
|
|
<li class="foo"><div>Alliance</div></li>
|
|
|
|
<li class="foo"><div>Alpha</div></li>
|
|
|
|
<li class="foo"><div>Alvada</div></li>
|
|
|
|
<li class="foo"><div>Alvordton</div></li>
|
|
|
|
<li class="foo"><div>Amanda</div></li>
|
|
|
|
<li class="foo"><div>Amelia</div></li>
|
|
|
|
<li class="foo"><div>Amesville</div></li>
|
2011-07-25 14:13:13 +00:00
|
|
|
</ul>
|
|
|
|
|
|
|
|
<ul class="foo" id="menu4">
|
2014-10-25 16:18:17 +00:00
|
|
|
<li class="foo"><div>Aberdeen</div></li>
|
2011-07-25 14:13:13 +00:00
|
|
|
<li class="foo">
|
2014-10-25 16:18:17 +00:00
|
|
|
<div>Ada</div>
|
2011-07-25 14:13:13 +00:00
|
|
|
<ul class="foo">
|
2014-10-25 16:18:17 +00:00
|
|
|
<li class="foo"><div>Aberdeen</div></li>
|
|
|
|
<li class="foo"><div>Ada</div></li>
|
|
|
|
<li class="foo"><div>Adamsville</div></li>
|
|
|
|
<li class="foo"><div>Addyston</div></li>
|
|
|
|
<li class="foo"><div>Adelphi</div></li>
|
|
|
|
<li class="foo"><div>Adena</div></li>
|
|
|
|
<li class="foo"><div>Adrian</div></li>
|
|
|
|
<li class="foo"><div>Akron</div></li>
|
|
|
|
<li class="foo"><div>Albany</div></li>
|
|
|
|
<li class="foo"><div>Alexandria</div></li>
|
|
|
|
<li class="foo"><div>Alger</div></li>
|
|
|
|
<li class="foo"><div>Alledonia</div></li>
|
|
|
|
<li class="foo"><div>Alliance</div></li>
|
|
|
|
<li class="foo"><div>Alpha</div></li>
|
|
|
|
<li class="foo"><div>Alvada</div></li>
|
|
|
|
<li class="foo"><div>Alvordton</div></li>
|
|
|
|
<li class="foo"><div>Amanda</div></li>
|
|
|
|
<li class="foo"><div>Amelia</div></li>
|
|
|
|
<li class="foo"><div>Amesville</div></li>
|
|
|
|
<li class="foo"><div>Aberdeen</div></li>
|
|
|
|
<li class="foo"><div>Ada</div></li>
|
|
|
|
<li class="foo"><div>Adamsville</div></li>
|
|
|
|
<li class="foo"><div>Addyston</div></li>
|
|
|
|
<li class="foo"><div>Adelphi</div></li>
|
|
|
|
<li class="foo"><div>Adena</div></li>
|
|
|
|
<li class="foo"><div>Adrian</div></li>
|
|
|
|
<li class="foo"><div>Akron</div></li>
|
|
|
|
<li class="foo"><div>Albany</div></li>
|
2011-07-25 14:13:13 +00:00
|
|
|
</ul>
|
|
|
|
</li>
|
2014-10-25 16:18:17 +00:00
|
|
|
<li class="foo"><div>Adamsville</div></li>
|
|
|
|
<li class="foo"><div>Addyston</div></li>
|
|
|
|
<li class="foo"><div>Adelphi</div></li>
|
|
|
|
<li class="foo"><div>Adena</div></li>
|
|
|
|
<li class="foo"><div>Adrian</div></li>
|
|
|
|
<li class="foo"><div>Akron</div></li>
|
|
|
|
<li class="foo"><div>Albany</div></li>
|
|
|
|
<li class="foo"><div>Alexandria</div></li>
|
|
|
|
<li class="foo"><div>Alger</div></li>
|
|
|
|
<li class="foo"><div>Alledonia</div></li>
|
|
|
|
<li class="foo"><div>Alliance</div></li>
|
|
|
|
<li class="foo"><div>Alpha</div></li>
|
|
|
|
<li class="foo"><div>Alvada</div></li>
|
|
|
|
<li class="foo"><div>Alvordton</div></li>
|
|
|
|
<li class="foo"><div>Amanda</div></li>
|
|
|
|
<li class="foo"><div>Amelia</div></li>
|
|
|
|
<li class="foo"><div>Amesville</div></li>
|
|
|
|
<li class="foo"><div>Aberdeen</div></li>
|
|
|
|
<li class="foo"><div>Ada</div></li>
|
|
|
|
<li class="foo"><div>Adamsville</div></li>
|
|
|
|
<li class="foo"><div>Addyston</div></li>
|
|
|
|
<li class="foo"><div>Adelphi</div></li>
|
|
|
|
<li class="foo"><div>Adena</div></li>
|
|
|
|
<li class="foo"><div>Adrian</div></li>
|
|
|
|
<li class="foo"><div>Akron</div></li>
|
|
|
|
<li class="foo"><div>Albany</div></li>
|
|
|
|
<li class="foo"><div>Alexandria</div></li>
|
|
|
|
<li class="foo"><div>Alger</div></li>
|
|
|
|
<li class="foo"><div>Alledonia</div></li>
|
|
|
|
<li class="foo"><div>Alliance</div></li>
|
|
|
|
<li class="foo"><div>Alpha</div></li>
|
|
|
|
<li class="foo"><div>Alvada</div></li>
|
|
|
|
<li class="foo"><div>Alvordton</div></li>
|
|
|
|
<li class="foo"><div>Amanda</div></li>
|
|
|
|
<li class="foo"><div>Amelia</div></li>
|
|
|
|
<li class="foo"><div>Amesville</div></li>
|
2011-07-25 14:13:13 +00:00
|
|
|
</ul>
|
|
|
|
|
2011-09-14 15:29:36 +00:00
|
|
|
<div id="menu5">
|
2014-10-25 16:18:17 +00:00
|
|
|
<blockquote><div>Aberdeen</div></blockquote>
|
|
|
|
<blockquote><div>Ada</div></blockquote>
|
|
|
|
<blockquote><div>Adamsville</div></blockquote>
|
|
|
|
<blockquote><div>Addyston</div></blockquote>
|
|
|
|
<blockquote>
|
|
|
|
<div>Delphi</div>
|
|
|
|
<div class="menu">
|
|
|
|
<blockquote><div>Ada</div></blockquote>
|
|
|
|
<blockquote><div>Saarland</div></blockquote>
|
|
|
|
<blockquote><div>Salzburg</div></blockquote>
|
2011-09-14 15:29:36 +00:00
|
|
|
</div>
|
|
|
|
</blockquote>
|
2014-10-25 16:18:17 +00:00
|
|
|
<blockquote><div>Saarland</div></blockquote>
|
|
|
|
<blockquote>
|
|
|
|
<div>Salzburg</div>
|
|
|
|
<div class="menu">
|
|
|
|
<blockquote>
|
|
|
|
<div>Delphi</div>
|
|
|
|
<div class="menu">
|
|
|
|
<blockquote><div>Ada</div></blockquote>
|
2013-09-18 04:22:33 +00:00
|
|
|
<blockquote id="testID2">Saarland</blockquote>
|
2014-10-25 16:18:17 +00:00
|
|
|
<blockquote><div>Salzburg</div></blockquote>
|
2011-09-14 15:29:36 +00:00
|
|
|
</div>
|
|
|
|
</blockquote>
|
2014-10-25 16:18:17 +00:00
|
|
|
<blockquote>
|
|
|
|
<div>Delphi</div>
|
|
|
|
<div class="menu">
|
|
|
|
<blockquote><div>Ada</div></blockquote>
|
|
|
|
<blockquote><div>Saarland</div></blockquote>
|
|
|
|
<blockquote><div>Salzburg</div></blockquote>
|
2011-09-14 15:29:36 +00:00
|
|
|
</div>
|
|
|
|
</blockquote>
|
2014-10-25 16:18:17 +00:00
|
|
|
<blockquote><div>Perch</div></blockquote>
|
2011-09-14 15:29:36 +00:00
|
|
|
</div>
|
|
|
|
</blockquote>
|
|
|
|
</div>
|
|
|
|
|
2012-04-19 02:29:39 +00:00
|
|
|
<ul id="menu6">
|
2014-10-25 16:18:17 +00:00
|
|
|
<li class="foo"><div>Aberdeen</div></li>
|
|
|
|
<li class="foo ui-state-disabled"><div>Ada</div></li>
|
|
|
|
<li class="foo"><div>Adamsville</div></li>
|
|
|
|
<li class="foo"><div>Addyston</div></li>
|
|
|
|
<li id="testID3" class="ui-state-disabled">
|
|
|
|
<div>Delphi</div>
|
2012-04-19 02:29:39 +00:00
|
|
|
<ul>
|
2014-10-25 16:18:17 +00:00
|
|
|
<li class="foo"><div>Ada</div></li>
|
|
|
|
<li class="foo"><div>Saarland</div></li>
|
|
|
|
<li class="foo"><div>Salzburg</div></li>
|
2012-04-19 02:29:39 +00:00
|
|
|
</ul>
|
|
|
|
</li>
|
2014-10-25 16:18:17 +00:00
|
|
|
<li class="foo"><div>Saarland</div></li>
|
2012-04-19 02:29:39 +00:00
|
|
|
</ul>
|
|
|
|
|
2013-09-25 04:46:59 +00:00
|
|
|
<ul id="menu7">
|
2014-10-25 16:18:17 +00:00
|
|
|
<li class="ui-menu-group">
|
|
|
|
<div><strong>Group 1</strong></div>
|
|
|
|
</li>
|
|
|
|
<li><div>Aberdeen</div></li>
|
|
|
|
<li><div>Ada</div></li>
|
|
|
|
<li><div>Adamsville</div></li>
|
|
|
|
<li><div>Addyston</div></li>
|
2013-09-25 04:46:59 +00:00
|
|
|
<li></li>
|
2014-10-25 16:18:17 +00:00
|
|
|
<li class="ui-menu-group">
|
|
|
|
<div><strong>Group 2</strong></div>
|
|
|
|
</li>
|
|
|
|
<li>
|
|
|
|
<div>Delphi</div>
|
2013-09-25 04:46:59 +00:00
|
|
|
<ul>
|
2014-10-25 16:18:17 +00:00
|
|
|
<li><div>Ada</div></li>
|
|
|
|
<li><div>Saarland</div></li>
|
|
|
|
<li><div>Salzburg</div></li>
|
2013-09-25 04:46:59 +00:00
|
|
|
</ul>
|
|
|
|
</li>
|
2014-10-25 16:18:17 +00:00
|
|
|
<li><div>Saarland</div></li>
|
2013-09-25 04:46:59 +00:00
|
|
|
<li>---</li>
|
2014-10-25 16:18:17 +00:00
|
|
|
<li class="ui-menu-group">
|
|
|
|
<div><strong>Group 3</strong></div>
|
|
|
|
</li>
|
|
|
|
<li>
|
|
|
|
<div>Salzburg</div>
|
2013-09-25 04:46:59 +00:00
|
|
|
<ul>
|
2014-10-25 16:18:17 +00:00
|
|
|
<li>
|
|
|
|
<div>Delphi</div>
|
2013-09-25 04:46:59 +00:00
|
|
|
<ul>
|
2014-10-25 16:18:17 +00:00
|
|
|
<li><div>Ada</div></li>
|
2013-09-25 04:46:59 +00:00
|
|
|
<li> - </li>
|
2014-10-25 16:18:17 +00:00
|
|
|
<li><div>Saarland</div></li>
|
2013-09-25 04:46:59 +00:00
|
|
|
<li>—</li>
|
2014-10-25 16:18:17 +00:00
|
|
|
<li><div>Salzburg</div></li>
|
2013-09-25 04:46:59 +00:00
|
|
|
<li>–</li>
|
|
|
|
</ul>
|
|
|
|
</li>
|
2014-10-25 16:18:17 +00:00
|
|
|
<li>
|
|
|
|
<div>Delphi</div>
|
2013-09-25 04:46:59 +00:00
|
|
|
<ul>
|
2014-10-25 16:18:17 +00:00
|
|
|
<li><div>Ada</div></li>
|
|
|
|
<li><div>Saarland</div></li>
|
|
|
|
<li><div>Salzburg</div></li>
|
2013-09-25 04:46:59 +00:00
|
|
|
</ul>
|
|
|
|
</li>
|
2014-10-25 16:18:17 +00:00
|
|
|
<li><div>Perch</div></li>
|
2013-09-25 04:46:59 +00:00
|
|
|
</ul>
|
|
|
|
</li>
|
2014-10-25 16:18:17 +00:00
|
|
|
<li><div>Amesville</div></li>
|
2013-09-25 04:46:59 +00:00
|
|
|
</ul>
|
|
|
|
|
2014-08-29 12:18:47 +00:00
|
|
|
<ul id="menu8">
|
2014-10-25 16:18:17 +00:00
|
|
|
<li class="foo"><div>Aberdeen</div></li>
|
|
|
|
<li class="foo ui-state-disabled"><div>Ada</div></li>
|
|
|
|
<li class="foo"><div>Adamsville</div></li>
|
|
|
|
<li class="foo"><div>Addyston</div></li>
|
2014-08-29 12:18:47 +00:00
|
|
|
<li class="foo">-</li>
|
2014-10-25 16:18:17 +00:00
|
|
|
<li class="foo"><div>-Saarland</div></li>
|
2014-08-29 12:18:47 +00:00
|
|
|
</ul>
|
|
|
|
|
2014-12-03 16:24:44 +00:00
|
|
|
<ul class="foo" id="menu9">
|
|
|
|
<li class="foo">
|
|
|
|
<div>Aberdeen</div>
|
|
|
|
<ul>
|
|
|
|
<li class="foo"><div>Ada</div></li>
|
|
|
|
</ul>
|
|
|
|
</li>
|
|
|
|
<li class="foo"><div>Ada</div></li>
|
|
|
|
<li class="foo"><div>Adamsville</div></li>
|
|
|
|
<li class="foo"><div>Addyston</div></li>
|
|
|
|
<li class="foo"><div>Adelphi</div></li>
|
|
|
|
</ul>
|
2010-05-06 15:10:52 +00:00
|
|
|
</div>
|
|
|
|
</body>
|
|
|
|
</html>
|