2011-08-03 21:12:44 +00:00
|
|
|
<!doctype html>
|
2011-03-22 17:25:28 +00:00
|
|
|
<html lang="en">
|
|
|
|
<head>
|
|
|
|
<meta charset="utf-8">
|
|
|
|
<title>jQuery UI Position Test Suite</title>
|
|
|
|
|
2011-07-28 11:34:31 +00:00
|
|
|
<script src="../../jquery.js"></script>
|
2012-04-26 18:16:06 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
2011-03-22 17:25:28 +00:00
|
|
|
<link rel="stylesheet" href="../../../external/qunit.css">
|
|
|
|
<script src="../../../external/qunit.js"></script>
|
|
|
|
<script src="../../jquery.simulate.js"></script>
|
|
|
|
<script src="../testsuite.js"></script>
|
2012-04-23 14:43:01 +00:00
|
|
|
<script>
|
|
|
|
TestHelpers.loadResources({
|
|
|
|
js: [ "ui/jquery.ui.position.js" ]
|
|
|
|
});
|
|
|
|
</script>
|
2011-03-22 17:25:28 +00:00
|
|
|
|
|
|
|
<script src="position_core.js"></script>
|
|
|
|
<script src="position_deprecated.js"></script>
|
|
|
|
<script src="../swarminject.js"></script>
|
|
|
|
</head>
|
|
|
|
<body>
|
2012-04-26 18:16:06 +00:00
|
|
|
<div id="qunit" style="position:relative; z-index:2;"></div>
|
2011-03-22 17:25:28 +00:00
|
|
|
|
|
|
|
<!--
|
|
|
|
elements smaller than 10px have a line-height set on them to avoid a bug in IE6
|
|
|
|
.height() returns the greater of the height and line-height
|
|
|
|
-->
|
|
|
|
|
2012-04-23 19:52:06 +00:00
|
|
|
<div id="qunit-fixture" style="top: 0; left: 0; z-index:1">
|
2011-03-22 17:25:28 +00:00
|
|
|
<div id="el1" style="position: absolute; width: 6px; height: 6px; line-height: 6px;"></div>
|
|
|
|
<div id="el2" style="position: absolute; width: 6px; height: 6px; line-height: 6px;"></div>
|
|
|
|
<div id="parent" style="position: absolute; width: 6px; height: 6px; top: 4px; left: 4px; line-height: 6px;"></div>
|
2012-04-23 19:52:06 +00:00
|
|
|
<div id="within" style="position: absolute; width: 12px; height: 12px; top: 2px; left: 0px;"></div>
|
2011-03-22 17:25:28 +00:00
|
|
|
|
2012-04-26 18:16:06 +00:00
|
|
|
<div id="scrollx" style="position: absolute; top: 0px; left: 0px">
|
2012-04-23 19:52:06 +00:00
|
|
|
<div id="elx" style="position: absolute; width: 10px; height: 10px; line-height: 10px;"></div>
|
|
|
|
<div id="parentx" style="position: absolute; width: 20px; height: 20px; top: 40px; left: 40px;"></div>
|
|
|
|
</div>
|
2011-03-22 17:25:28 +00:00
|
|
|
|
2012-04-23 19:52:06 +00:00
|
|
|
<div style="position: absolute; height: 5000px; width: 5000px;"></div>
|
2011-03-22 17:25:28 +00:00
|
|
|
|
2012-04-23 19:52:06 +00:00
|
|
|
<div id="fractions-parent" style="position: absolute; left: 10.7432222px; top: 10.532325px; height: 30px; width: 201px;">
|
|
|
|
<div id="fractions-element"></div>
|
|
|
|
</div>
|
2011-03-22 17:25:28 +00:00
|
|
|
|
2012-04-23 19:52:06 +00:00
|
|
|
<div id="bug-5280" style="height: 30px; width: 201px;">
|
|
|
|
<div style="width: 50px; height: 10px;"></div>
|
|
|
|
</div>
|
2011-08-20 01:19:38 +00:00
|
|
|
</div>
|
|
|
|
|
2011-03-22 17:25:28 +00:00
|
|
|
</body>
|
|
|
|
</html>
|