mirror of
https://github.com/Hopiu/jquery-mobile.git
synced 2026-03-16 22:10:25 +00:00
50 lines
1.4 KiB
HTML
50 lines
1.4 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
<title>jQuery Mobile Button Test Suite</title>
|
|
|
|
<script src="../../../js/jquery.js"></script>
|
|
<script src="../jquery.setNameSpace.js"></script>
|
|
<script src="../../../tests/jquery.testHelper.js"></script>
|
|
|
|
|
|
<link rel="stylesheet" href="../../../css/themes/default/jquery.mobile.css"/>
|
|
<link rel="stylesheet" href="../../../external/qunit.css"/>
|
|
<script src="../../../external/qunit.js"></script>
|
|
<script src="../../../external/requirejs/require.js"></script>
|
|
<script>
|
|
$.testHelper.asyncLoad([
|
|
[
|
|
"jquery.mobile.forms.button",
|
|
],
|
|
[ "jquery.mobile.init" ],
|
|
[
|
|
"button_core.js"
|
|
]
|
|
]);
|
|
</script>
|
|
|
|
<script src="../swarminject.js"></script>
|
|
</head>
|
|
<body>
|
|
<h1 id="qunit-header">jQuery Mobile Button Test Suite</h1>
|
|
<h2 id="qunit-banner"></h2>
|
|
<h2 id="qunit-userAgent"></h2>
|
|
<ol id="qunit-tests">
|
|
</ol>
|
|
|
|
<div data-nstest-role="page" data-nstest-theme="a">
|
|
<div data-nstest-role="content" data-nstest-theme="p">
|
|
<button class="should-be-native">foo</button>
|
|
<button id="enhanced">bar</button>
|
|
<button id="text">foo</button>
|
|
<button id="value" value="foo"></button>
|
|
<form id="hidden-element-addition-form" method="get" action="this will fail!">
|
|
<input type="submit" id="hidden-element-addition" name="foo">foo</input>
|
|
</form>
|
|
</div>
|
|
</div>
|
|
</body>
|
|
</html>
|