1 |
<!doctype html> |
2 |
<html lang="en"> |
3 |
<head> |
4 |
<meta charset="utf-8"> |
5 |
<title>jQuery UI Position Test Suite</title> |
6 |
|
7 |
<script src="../../jquery.js"></script> |
8 |
<link rel="stylesheet" href="../../../external/qunit.css"> |
9 |
<script src="../../../external/qunit.js"></script> |
10 |
<script src="../../jquery.simulate.js"></script> |
11 |
<script src="../testsuite.js"></script> |
12 |
<script> |
13 |
TestHelpers.loadResources({ |
14 |
js: [ "ui/jquery.ui.position.js" ] |
15 |
}); |
16 |
</script> |
17 |
|
18 |
<script src="position_core.js"></script> |
19 |
|
20 |
<script src="../swarminject.js"></script> |
21 |
</head> |
22 |
<body> |
23 |
<div id="qunit" style="position:relative; z-index:2;"></div> |
24 |
|
25 |
<!-- |
26 |
elements smaller than 20px have a line-height set on them to avoid a bug in IE6 |
27 |
.height() returns the greater of the height and line-height |
28 |
--> |
29 |
|
30 |
<div id="qunit-fixture" style="top: 0; left: 0; z-index:1"> |
31 |
<div id="el1" style="position: absolute; width: 6px; height: 6px; line-height: 6px;"></div> |
32 |
<div id="el2" style="position: absolute; width: 6px; height: 6px; line-height: 6px;"></div> |
33 |
<div id="parent" style="position: absolute; width: 6px; height: 6px; top: 4px; left: 4px; line-height: 6px;"></div> |
34 |
<div id="within" style="position: absolute; width: 12px; height: 12px; top: 2px; left: 0px; line-height: 12px;"></div> |
35 |
|
36 |
<div id="scrollx" style="position: absolute; top: 0px; left: 0px"> |
37 |
<div id="elx" style="position: absolute; width: 10px; height: 10px; line-height: 10px;"></div> |
38 |
<div id="parentx" style="position: absolute; width: 20px; height: 20px; top: 40px; left: 40px;"></div> |
39 |
</div> |
40 |
|
41 |
<div style="position: absolute; height: 5000px; width: 5000px;"></div> |
42 |
|
43 |
<div id="fractions-parent" style="position: absolute; left: 10.7432222px; top: 10.532325px; height: 30px; width: 201px;"> |
44 |
<div id="fractions-element"></div> |
45 |
</div> |
46 |
|
47 |
<div id="bug-5280" style="height: 30px; width: 201px;"> |
48 |
<div style="width: 50px; height: 10px;"></div> |
49 |
</div> |
50 |
</div> |
51 |
|
52 |
</body> |
53 |
</html> |