OLD | NEW |
1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
2 <html> | 2 <html> |
3 <head> | 3 <head> |
4 <script src="resources/repaint.js" type="text/javascript"></script> | 4 <script src="resources/repaint.js" type="text/javascript"></script> |
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 18 matching lines...) Expand all Loading... |
29 | 29 |
30 // Scroll the #outerDiv until we reach the #innerDiv. | 30 // Scroll the #outerDiv until we reach the #innerDiv. |
31 eventSender.mouseMoveTo(50, 50); | 31 eventSender.mouseMoveTo(50, 50); |
32 eventSender.mouseScrollBy(0, -8); | 32 eventSender.mouseScrollBy(0, -8); |
33 } else { | 33 } else { |
34 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."); | 34 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."); |
35 } | 35 } |
36 </script> | 36 </script> |
37 </body> | 37 </body> |
38 </html> | 38 </html> |
OLD | NEW |