aboutsummaryrefslogtreecommitdiffstats
path: root/tests/unit/effects/effects.html
blob: f35393b89782db13067fb2acc415bab92d32f247 (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
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
<!doctype html>
<html lang="en">
<head>
	<meta charset="utf-8">
	<title>jQuery UI Effects Test Suite</title>

	<script src="../../jquery.js"></script>
	<link rel="stylesheet" href="../../../external/qunit.css">
	<script src="../../../external/qunit.js"></script>
	<script src="../../jquery.simulate.js"></script>
	<script src="../testsuite.js"></script>
	<script>
	TestHelpers.loadResources({
		js: [
			"ui/jquery.ui.effect.js",
			"ui/jquery.ui.effect-blind.js",
			"ui/jquery.ui.effect-bounce.js",
			"ui/jquery.ui.effect-clip.js",
			"ui/jquery.ui.effect-drop.js",
			"ui/jquery.ui.effect-explode.js",
			"ui/jquery.ui.effect-fade.js",
			"ui/jquery.ui.effect-fold.js",
			"ui/jquery.ui.effect-highlight.js",
			"ui/jquery.ui.effect-puff.js",
			"ui/jquery.ui.effect-pulsate.js",
			"ui/jquery.ui.effect-scale.js",
			"ui/jquery.ui.effect-shake.js",
			"ui/jquery.ui.effect-size.js",
			"ui/jquery.ui.effect-slide.js",
			"ui/jquery.ui.effect-transfer.js"
		]
	});
	</script>

	<script src="effects_core.js"></script>
	<script src="effects_scale.js"></script>

	<script src="../swarminject.js"></script>
	<style>
	#qunit-fixture {
		width: 1000px;
		height: 1000px;
	}
	.hidden {
		display: none;
	}
	.test {
		background: #000;
		border: 0;
		width: 100px;
		height: 100px;
	}
	.testAddBorder {
		border: 10px solid #000;
	}
	.testChildren,
	.testChangeBackground {
		background: #fff;
	}
	.test h2 {
		font-size: 10px;
	}
	.testChildren h2 {
		font-size: 20px;
	}

	.relWidth {
		width: 50%;
	}

	.relHeight {
		height: 50%;
	}

	.testScale {
		border: 5px solid #000;
		padding: 5px;
		margin: 5px;
		width: 50px;
		height: 50px;
	}

	.ticket7106 {
		width: 50px;
		height: 50px;
	}
	.ticket7106.animate {
		width: 100px;
	}

	</style>
</head>
<body>

<h1 id="qunit-header">jQuery UI Effects Test Suite</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 id="elem" class="test">
</div>
<div class="hidden test">
	<div>.</div>
</div>
<div class="animateClass test">
	<h2>Child Element Test</h2>
</div>
<div class="relWidth relHeight testAddBorder">
	<h2>Slide with relative width</h2>
</div>
<div class="testScale">
</div>
<div class="ticket7106">
</div>

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