aboutsummaryrefslogtreecommitdiffstats
path: root/test/data
diff options
context:
space:
mode:
authortimmywil <tim.willison@thisismedium.com>2011-03-31 02:55:16 -0400
committertimmywil <tim.willison@thisismedium.com>2011-03-31 02:55:16 -0400
commitf9cc5597a47e8a95b13fa5599e94c20fe80903e0 (patch)
tree26d7ef220e4fc22e7236a27626935664b4294485 /test/data
parent6c28a394c2174c51196cd9ac073b819fc79adb3b (diff)
downloadjquery-f9cc5597a47e8a95b13fa5599e94c20fe80903e0.tar.gz
jquery-f9cc5597a47e8a95b13fa5599e94c20fe80903e0.zip
Fix test cases for bug #8316 fix.
- Removed special page, just needed another test in the fixed offset tests - Checks it's position related to scrolling
Diffstat (limited to 'test/data')
-rw-r--r--test/data/offset/bug_8316.html30
-rw-r--r--test/data/offset/fixed.html1
2 files changed, 1 insertions, 30 deletions
diff --git a/test/data/offset/bug_8316.html b/test/data/offset/bug_8316.html
deleted file mode 100644
index ce32a2826..000000000
--- a/test/data/offset/bug_8316.html
+++ /dev/null
@@ -1,30 +0,0 @@
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
- "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
-<html>
- <head>
- <meta http-equiv="Content-type" content="text/html; charset=utf-8">
- <title>bug_8316</title>
- <style type="text/css" media="screen">
- #elem {
- background-color: #000;
- height: 100px;
- width: 100px;
- position: fixed;
- }
- </style>
- <script src="../../../src/core.js"></script>
- <script src="../../../src/deferred.js"></script>
- <script src="../../../src/support.js"></script>
- <script src="../../../src/sizzle/sizzle.js"></script>
- <script src="../../../src/sizzle-jquery.js"></script>
- <script src="../../../src/traversing.js"></script>
- <script src="../../../src/data.js"></script>
- <script src="../../../src/event.js"></script>
- <script src="../../../src/css.js"></script>
- <script src="../../../src/offset.js"></script>
- </head>
- <body>
- <p> Some foo text </p>
- <div id="elem"></div>
- </body>
-</html>
diff --git a/test/data/offset/fixed.html b/test/data/offset/fixed.html
index 3181718da..81ba4ca7d 100644
--- a/test/data/offset/fixed.html
+++ b/test/data/offset/fixed.html
@@ -35,6 +35,7 @@
<body>
<div id="fixed-1" class="fixed"></div>
<div id="fixed-2" class="fixed"></div>
+ <div id="fixed-no-top-left" class="fixed"></div>
<div id="forceScroll"></div>
<div id="marker"></div>
<p class="instructions">Click the white box to move the marker to it.</p>