OLD | NEW |
1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
2 <html> | 2 <html> |
3 <head> | 3 <head> |
4 <script src="resources/text-based-repaint.js" type="text/javascript"></scrip
t> | 4 <script src="resources/text-based-repaint.js" type="text/javascript"></scrip
t> |
5 <script> | 5 <script> |
6 function repaintTest() { | 6 function repaintTest() { |
7 // Now scroll once in the #innerDiv to the green area. | 7 // Now scroll once in the #innerDiv to the green area. |
8 if (window.eventSender) | 8 if (window.eventSender) |
9 eventSender.mouseScrollBy(0, -10); | 9 eventSender.mouseScrollBy(0, -10); |
10 } | 10 } |
(...skipping 21 matching lines...) Expand all Loading... |
32 | 32 |
33 // Scroll the #outerDiv until we reach the #innerDiv. | 33 // Scroll the #outerDiv until we reach the #innerDiv. |
34 eventSender.mouseMoveTo(50, 50); | 34 eventSender.mouseMoveTo(50, 50); |
35 eventSender.mouseScrollBy(0, -8); | 35 eventSender.mouseScrollBy(0, -8); |
36 } else { | 36 } else { |
37 document.write("This test is better run under DumpRenderTree. To manually te
st it, continuously scroll down on the top-most element. There should be no repa
int issue."); | 37 document.write("This test is better run under DumpRenderTree. To manually te
st it, continuously scroll down on the top-most element. There should be no repa
int issue."); |
38 } | 38 } |
39 </script> | 39 </script> |
40 </body> | 40 </body> |
41 </html> | 41 </html> |
OLD | NEW |