| OLD | NEW |
| 1 <html> | 1 <html> |
| 2 <head> | 2 <head> |
| 3 <link rel="stylesheet" href="../../../fast/js/resources/js-test-style.css"> | 3 <link rel="stylesheet" href="../fast/js/resources/js-test-style.css"> |
| 4 <script src="../../../fast/js/resources/js-test-pre.js"></script> | 4 <script src="../fast/js/resources/js-test-pre.js"></script> |
| 5 </head> | 5 </head> |
| 6 <body> | 6 <body> |
| 7 | 7 |
| 8 <p id="description"></p> | 8 <p id="description"></p> |
| 9 | 9 |
| 10 <div id="container" style="height: 100px; overflow: scroll"> | 10 <div id="container" style="height: 100px; overflow: scroll"> |
| 11 <button id="upper_target">Upper Target</button> | 11 <button id="upper_target">Upper Target</button> |
| 12 <div style="border: 1px solid #000; height: 5000px;">5000-pixel box</div> | 12 <div style="border: 1px solid #000; height: 5000px;">5000-pixel box</div> |
| 13 <button id="lower_target">Lower Target</button> | 13 <button id="lower_target">Lower Target</button> |
| 14 </div> | 14 </div> |
| (...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 52 shouldBe("container.scrollTop >= minYOffset", "true"); | 52 shouldBe("container.scrollTop >= minYOffset", "true"); |
| 53 shouldBe("container.scrollTop <= maxYOffset", "true"); | 53 shouldBe("container.scrollTop <= maxYOffset", "true"); |
| 54 | 54 |
| 55 finishJSTest(); | 55 finishJSTest(); |
| 56 } | 56 } |
| 57 | 57 |
| 58 runTest(); | 58 runTest(); |
| 59 | 59 |
| 60 </script> | 60 </script> |
| 61 | 61 |
| 62 <script src="../../../fast/js/resources/js-test-post.js"></script> | 62 <script src="../fast/js/resources/js-test-post.js"></script> |
| 63 </body> | 63 </body> |
| 64 </html> | 64 </html> |
| OLD | NEW |