diff options
author | Timmy Willison <timmywillisn@gmail.com> | 2015-06-16 13:24:12 -0400 |
---|---|---|
committer | Timmy Willison <timmywillisn@gmail.com> | 2015-06-16 13:28:51 -0400 |
commit | b04124222395a05c80d4f1c3a70333fdb07bfe3d (patch) | |
tree | 3a39c0ae098099f980683820891dedb186ba25d1 /test/data/offset | |
parent | 0e4477c676db0427bb9b0bf39df8631501e62f24 (diff) | |
download | jquery-b04124222395a05c80d4f1c3a70333fdb07bfe3d.tar.gz jquery-b04124222395a05c80d4f1c3a70333fdb07bfe3d.zip |
Offset: add tests for hidden elements + scroll
- Also add comments to hidden/disconnected tests noting
this is to ensure consistency between branches
Diffstat (limited to 'test/data/offset')
-rw-r--r-- | test/data/offset/scroll.html | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/test/data/offset/scroll.html b/test/data/offset/scroll.html index 113400ce4..ad35ab84a 100644 --- a/test/data/offset/scroll.html +++ b/test/data/offset/scroll.html @@ -11,6 +11,7 @@ #scroll-1-1 { top: 1px; left: 1px; } #scroll-1-1-1 { top: 1px; left: 1px; } #forceScroll { width: 5000px; height: 5000px; } + #hidden { display: none; } #marker { position: absolute; border: 2px solid #000; width: 50px; height: 50px; background: #ccc; } </style> <script src="../../jquery.js"></script> @@ -32,6 +33,7 @@ <div id="scroll-1-1-1" class="scroll"></div> </div> </div> + <div id="hidden"></div> <div id="forceScroll"></div> <div id="marker"></div> <p class="instructions">Click the white box to move the marker to it.</p> |