aboutsummaryrefslogtreecommitdiffstats
path: root/tests/unit/button/button.html
blob: 679c316bfb72307ba8851a3e6a96bd02258c03f0 (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
69
70
71
72
73
74
75
76
77
78
79
80
<!doctype html>
<html lang="en">
<head>
	<meta charset="utf-8">
	<title>jQuery UI Button Test Suite</title>

	<script src="../../jquery.js"></script>
	<link rel="stylesheet" href="../../../external/qunit/qunit.css">
	<script src="../../../external/qunit/qunit.js"></script>
	<script src="../../../external/jquery-simulate/jquery.simulate.js"></script>
	<script src="../testsuite.js"></script>
	<script src="../../../external/qunit-assert-classes/qunit-assert-classes.js"></script>
	<script>
	TestHelpers.loadResources({
		css: [ "core", "button" ],
		js: [
			"ui/core.js",
			"ui/widget.js",
			"ui/button.js"
		]
	});
	</script>

	<script src="button_common.js"></script>
	<script src="button_core.js"></script>
	<script src="button_events.js"></script>
	<script src="button_methods.js"></script>
	<script src="button_options.js"></script>

	<script src="../swarminject.js"></script>
</head>
<body>

<div id="qunit"></div>
<div id="qunit-fixture">

<div><button id="button" class="foo">Label</button></div>

<div id="radio0" style="margin-top: 2em;">
	<input type="radio" id="radio01" name="radio" checked="checked"><label for="radio01">Choice 1</label>
	<input type="radio" id="radio02" name="radio"><label for="radio02">Choice 2</label>
	<input type="radio" id="radio03" name="radio"><label for="radio03">Choice 3</label>
</div>
<div id="checkbox0">
	<input type="checkbox" id="checkbox01" name="checkbox"><label for="checkbox01">Choice 1</label>
	<input type="checkbox" id="checkbox02" name="checkbox"><label for="checkbox02">Choice 2</label>
	<input type="checkbox" id="checkbox03" name="checkbox"><label for="checkbox03">Choice 3</label>
</div>
<form>
	<div id="radio1" style="margin-top: 2em;">
		<input type="radio" id="radio11" name="radio"><label for="radio11">Choice 1</label>
		<input type="radio" id="radio12" name="radio" checked="checked"><label for="radio12">Choice 2</label>
		<input type="radio" id="radio13" name="radio"><label for="radio13">Choice 3</label>
	</div>
</form>
<form>
	<div id="radio2" style="margin-top: 2em;">
		<input type="radio" id="radio21" name="radio"><label for="radio21">Choice 1</label>
		<input type="radio" id="radio22" name="radio"><label for="radio22">Choice 2</label>
		<input type="radio" id="radio23" name="radio" checked="checked"><label for="radio23">Choice 3</label>
	</div>
</form>
<form>
	<div id="radio3">
		<input type="radio" id="radio31" name="data['Page']['parse']"><label for="radio31">Choice 1</label>
		<input type="radio" id="radio32" name="data['Page']['parse']" checked="checked"><label for="radio32">Choice 2</label>
		<input type="radio" id="radio33" name="data['Page']['parse']"><label for="radio33">Choice 3</label>
	</div>
</form>

<input type="checkbox" id="check"><label for="check">Toggle</label>
<input type="checkbox" id="check2"><label for="check2">Checkbox</label>

<div><input id="submit" type="submit" value="Label"></div>

<button id="button1">Button</button>

</div>
</body>
</html>