This repository has been archived by the owner on Oct 8, 2021. It is now read-only.
/
base-tests.html
68 lines (56 loc) · 2.21 KB
/
base-tests.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>jQuery Mobile Navigation Test Suite</title>
<script>
// This unit test requires a base tag to be set within the file.
// Most browsers require a base tag with an @href URL that is absolute.
// We need to dynamically inject the base tag so we can prefix it with
// the location of this test on the server without any server-side language
// requirements.
var baseUrl = location.href.replace(/[^\?\#\/]*(\?[^#]*)?(#.*)?$/, "");
document.write("<base href=\"" + baseUrl + "base-tests/app-base/\"/>\n");
</script>
<script src="../../../../../js/jquery.js"></script>
<script src="../../../jquery.setNameSpace.js"></script>
<script src="../../../../../js/"></script>
<script src="../../../../../tests/jquery.testHelper.js"></script>
<link rel="stylesheet" href="../../../../../themes/default/"/>
<link rel="stylesheet" href="../../../../../external/qunit.css"/>
<script src="../../../../../external/qunit.js"></script>
<script src="../../navigation_base.js"></script>
</head>
<body>
<h1 id="qunit-header">jQuery Mobile Navigation Base Tag Test Suite</h1>
<h2 id="qunit-banner"></h2>
<h2 id="qunit-userAgent"></h2>
<ol id="qunit-tests">
</ol>
<div id="internal-page-1" data-nstest-role="page">
<a href="base-page-1.html" class="bp1"></a>
<a href="base-page-2.html" class="bp2"></a>
<a href="../content/content-page-1.html" class="cp1"></a>
<a href="../content/content-page-2.html" class="cp2"></a>
<a href="#internal-page-2" class="ip2"></a>
<img src="images/internal-page-1.png">
</div>
<div id="internal-page-2" data-nstest-role="page">
<a href="base-page-1.html" class="bp1"></a>
<a href="base-page-2.html" class="bp2"></a>
<a href="../content/content-page-1.html" class="cp1"></a>
<a href="../content/content-page-2.html" class="cp2"></a>
<a href="#internal-page-1" class="ip1"></a>
<img src="images/internal-page-2.png">
</div>
<div data-nstest-role="page" id="internal-no-action-form-page">
<div data-nstest-role="content">
<form>
<input type="hidden" name="foo" value="1">
<input type="hidden" name="bar" value="2">
</form>
</div>
</div>
</body>
</html>