OLD | NEW |
| (Empty) |
1 <!DOCTYPE html> | |
2 <html> | |
3 <head><title>Tests changing content size after a gesture event doesn't result in
overhang</title></head> | |
4 <body> | |
5 <div id="box" style="height:800px; background: green; border:2px solid black; wi
dth:100%"></div> | |
6 <div id="info">This test requires DRT.</div> | |
7 <script> | |
8 if (window.internals) { | |
9 document.getElementById('info').style.visibility = 'hidden'; | |
10 internals.settings.setMockScrollbarsEnabled(false); | |
11 eventSender.mouseMoveTo(10, 10); | |
12 eventSender.mouseDragBegin(); | |
13 eventSender.continuousMouseScrollBy(0, -300); | |
14 eventSender.mouseDragEnd(); | |
15 document.getElementById('box').style.height = '500px'; | |
16 } | |
17 </script> | |
18 </body> | |
19 </html> | |
OLD | NEW |