OLD | NEW |
1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
2 <html> | 2 <html> |
3 <head> | 3 <head> |
4 <script src="../js/resources/js-test-pre.js"></script> | 4 <script src="../../resources/js-test.js"></script> |
5 <script> | 5 <script> |
6 var div; | 6 var div; |
7 var pixelsPerWheelTick = 40; | 7 var pixelsPerWheelTick = 40; |
8 | 8 |
9 function tryScroll() { | 9 function tryScroll() { |
10 eventSender.mouseMoveTo(div.offsetLeft + 5, div.offsetTop + 5); | 10 eventSender.mouseMoveTo(div.offsetLeft + 5, div.offsetTop + 5); |
11 eventSender.mouseScrollBy(0,-1); | 11 eventSender.mouseScrollBy(0,-1); |
12 eventSender.mouseScrollBy(-1,0); | 12 eventSender.mouseScrollBy(-1,0); |
13 } | 13 } |
14 | 14 |
(...skipping 102 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
117 hidden without overflow | 117 hidden without overflow |
118 <div id="no-overflow-3" style="width: 100px; height: 100px; overflow-x: hidd
en; overflow-y: hidden"> | 118 <div id="no-overflow-3" style="width: 100px; height: 100px; overflow-x: hidd
en; overflow-y: hidden"> |
119 <div style="width: 20px; height: 20px;">Content</div> | 119 <div style="width: 20px; height: 20px;">Content</div> |
120 </div> | 120 </div> |
121 overlay without overflow | 121 overlay without overflow |
122 <div id="no-overflow-4" style="width: 100px; height: 100px; overflow-x: over
lay; overflow-y: overlay"> | 122 <div id="no-overflow-4" style="width: 100px; height: 100px; overflow-x: over
lay; overflow-y: overlay"> |
123 <div style="width: 20px; height: 20px;">Content</div> | 123 <div style="width: 20px; height: 20px;">Content</div> |
124 </div> | 124 </div> |
125 </body> | 125 </body> |
126 </html> | 126 </html> |
OLD | NEW |