summaryrefslogtreecommitdiff
path: root/tests/unit-tests/radio/index.html
blob: 57452d3ba2c866df61bece8c579a63834a681859 (plain)
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>
<head>
	<script src="../../../build/tizen-web-ui-fw/latest/js/jquery.js"></script>
	<script src="../../../build/tizen-web-ui-fw/latest/js/tizen-web-ui-fw-libs.js"></script>
	<script src="../../../build/tizen-web-ui-fw/latest/js/tizen-web-ui-fw.js"
		data-framework-theme="tizen-white"
		data-framework-viewport-scale=false>
	</script>

	<link rel="stylesheet" href="../../../libs/js/jquery-mobile-1.1.0/external/qunit.css" />
	<script src="../../../libs/js/jquery-mobile-1.1.0/external/qunit.js"></script>

	<script src="radio-tests.js"></script>
	<title>Radio</title>
</head>

<body>

<h1 id="qunit-header">Radio</h1>
<h2 id="qunit-banner"></h2>
<div id="qunit-testrunner-toolbar"></div>
<h2 id="qunit-userAgent"></h2>
<ol id="qunit-tests"></ol>

<div id="qunit-fixture">
	<div data-role="page" id="radiopage">
		<div>
			<input type="radio" name="radio-single" id="radio-single-1" value="Normal" />
			<label for="radio-single-1">Normal</label>
			<input type="radio" name="radio-2" id="radio-single-2" checked="checked" disabled="disabled" value="Checked, Disabled" />
			<label for="radio-single-2">Checked, Disabled</label>
			<input type="radio" name="radio-3" id="radio-single-3" disabled="disabled" value="Disabled" />
			<label for="radio-single-3">Disabled</label>

			<fieldset id="controlgroup" data-role="controlgroup">
				<input type="radio" name="radio-choice" id="radio-choice-1" value="Cat"  />
				<label for="radio-choice-1">Cat</label>

				<input type="radio" name="radio-choice" id="radio-choice-2" value="Dog" />
				<label for="radio-choice-2">Dog</label>

				<input type="radio" name="radio-choice" id="radio-choice-3" value="Hamster" />
				<label for="radio-choice-3">Hamster</label>

				<input type="radio" name="radio-choice" id="radio-choice-4" value="Lizard" />
				<label for="radio-choice-4">Lizard</label>
			</fieldset>

			<fieldset id="controlgroup2" data-type="horizontal" data-role="controlgroup">
				<input type="radio" name="radio-choice2" id="radio-choiceh-1" value="Cat"  />
				<label for="radio-choiceh-1">Cat</label>

				<input type="radio" name="radio-choice2" id="radio-choiceh-2" value="Dog" />
				<label for="radio-choiceh-2">Dog</label>

				<input type="radio" name="radio-choice2" id="radio-choiceh-3" value="Hamster" />
				<label for="radio-choiceh-3">Hamster</label>

				<input type="radio" name="radio-choice2" id="radio-choiceh-4" value="Lizard" />
				<label for="radio-choiceh-4">Lizard</label>
			</fieldset>
		</div>
	</div>
</div>

</body>
</html>