| OLD | NEW |
| 1 <html> | 1 <html> |
| 2 <head> | 2 <head> |
| 3 <link rel="stylesheet" href="../js/resources/js-test-style.css"> | |
| 4 <script src="../js/resources/js-test-pre.js"></script> | 3 <script src="../js/resources/js-test-pre.js"></script> |
| 5 <script> | 4 <script> |
| 6 var givenScrollTop = 2; // Only page is scrolled per event, regardle
ss of this number. | 5 var givenScrollTop = 2; // Only page is scrolled per event, regardle
ss of this number. |
| 7 var givenScrollLeft = 0; | 6 var givenScrollLeft = 0; |
| 8 var expectedScrollTop = 525; // Window is 800x600. Scroll 87.5% of v
isible. | 7 var expectedScrollTop = 525; // Window is 800x600. Scroll 87.5% of v
isible. |
| 9 var expectedScrollLeft = 0; | 8 var expectedScrollLeft = 0; |
| 10 var event; | 9 var event; |
| 11 var div; | 10 var div; |
| 12 | 11 |
| 13 window.jsTestIsAsync = true; | 12 window.jsTestIsAsync = true; |
| (...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 52 <div style="background-color:red;height:900px;width:200px;position:rel
ative;left:0px;top:0px"></div> | 51 <div style="background-color:red;height:900px;width:200px;position:rel
ative;left:0px;top:0px"></div> |
| 53 <div style="background-color:green;height:900px;width:200px;position:r
elative;left:200px;top:-900px"></div> | 52 <div style="background-color:green;height:900px;width:200px;position:r
elative;left:200px;top:-900px"></div> |
| 54 </div> | 53 </div> |
| 55 <div style="height:900px;width:400px"> | 54 <div style="height:900px;width:400px"> |
| 56 <div style="background-color:blue;height:900px;width:200px;position:re
lative;left:0px;top:0px"></div> | 55 <div style="background-color:blue;height:900px;width:200px;position:re
lative;left:0px;top:0px"></div> |
| 57 <div style="background-color:yellow;height:900px;width:200px;position:
relative;left:200px;top:-900px"></div> | 56 <div style="background-color:yellow;height:900px;width:200px;position:
relative;left:200px;top:-900px"></div> |
| 58 </div> | 57 </div> |
| 59 <div id="console"></div> | 58 <div id="console"></div> |
| 60 </body> | 59 </body> |
| 61 </html> | 60 </html> |
| OLD | NEW |