aboutsummaryrefslogtreecommitdiffstats
path: root/tests/unit/position
diff options
context:
space:
mode:
authorDavid Murdoch <musicisair@yahoo.com>2011-05-12 21:07:09 +0000
committerDavid Murdoch <musicisair@yahoo.com>2011-05-12 21:07:09 +0000
commite31d707d93faafa6ba788de06688069015411adf (patch)
treec295e71bde31cd13e2b0a59db34a13f325d8ce71 /tests/unit/position
parentc9c6908434b41df9fcfd55c38d2cbf58df9d2e04 (diff)
downloadjquery-ui-e31d707d93faafa6ba788de06688069015411adf.tar.gz
jquery-ui-e31d707d93faafa6ba788de06688069015411adf.zip
The qunit-fixture were preventing the results from being clicked. Make the results appear on top of the qunit-fixture
Diffstat (limited to 'tests/unit/position')
-rw-r--r--tests/unit/position/position.html17
-rw-r--r--tests/unit/position/position_core_within.js2
2 files changed, 9 insertions, 10 deletions
diff --git a/tests/unit/position/position.html b/tests/unit/position/position.html
index 6e4373172..d71bae497 100644
--- a/tests/unit/position/position.html
+++ b/tests/unit/position/position.html
@@ -21,20 +21,21 @@
<script src="../swarminject.js"></script>
</head>
<body>
-
-<h1 id="qunit-header">jQuery UI Position 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 style="position:relative; z-index:2;">
+ <h1 id="qunit-header">jQuery UI Position 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>
<!--
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
-->
-<div id="qunit-fixture" style="top: 0; left: 0;">
+<div id="qunit-fixture" style="top: 0; left: 0; z-index:1">
<div id="within-container">
<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>
diff --git a/tests/unit/position/position_core_within.js b/tests/unit/position/position_core_within.js
index 90c12c44b..98a2f5943 100644
--- a/tests/unit/position/position_core_within.js
+++ b/tests/unit/position/position_core_within.js
@@ -555,6 +555,4 @@ test( "within: collision: flip, with margin", function() {
// same( offset1, offset2 );
//});
-
-
}( jQuery ) );