| 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; | 5 var givenScrollTop = 2; |
| 7 var givenScrollLeft = 0; | 6 var givenScrollLeft = 0; |
| 8 var expectedScrollTop = 0; | 7 var expectedScrollTop = 0; |
| 9 var expectedScrollLeft = 0; | 8 var expectedScrollLeft = 0; |
| 10 var pixelsPerWheelTick = 40; | 9 var pixelsPerWheelTick = 40; |
| 11 var event; | 10 var event; |
| 12 var div; | 11 var div; |
| 13 | 12 |
| (...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 55 <body style="margin:0" onload="setTimeout('dispatchWheelEvent();', 100)"> | 54 <body style="margin:0" onload="setTimeout('dispatchWheelEvent();', 100)"> |
| 56 <div id="overflow" style="border:2px solid black;overflow:auto;white-spa
ce:nowrap;height:200px;width:200px;"> | 55 <div id="overflow" style="border:2px solid black;overflow:auto;white-spa
ce:nowrap;height:200px;width:200px;"> |
| 57 <div style="height:185px;width:600px;"> | 56 <div style="height:185px;width:600px;"> |
| 58 <div style="border:0px;background-color:red;height:181px;width:300px;d
isplay:inline-block;"></div> | 57 <div style="border:0px;background-color:red;height:181px;width:300px;d
isplay:inline-block;"></div> |
| 59 <div style="border:0px;background-color:green;height:181px;width:300px
;display:inline-block;"></div> | 58 <div style="border:0px;background-color:green;height:181px;width:300px
;display:inline-block;"></div> |
| 60 </div> | 59 </div> |
| 61 </div> | 60 </div> |
| 62 <div id="console"></div> | 61 <div id="console"></div> |
| 63 </body> | 62 </body> |
| 64 </html> | 63 </html> |
| OLD | NEW |