OLD | NEW |
1 <html> | 1 <html> |
2 <head> | 2 <head> |
3 <script src="resources/repaint.js" type="text/javascript" charset="utf-8"></scri
pt> | 3 <script src="resources/repaint.js" type="text/javascript" charset="utf-8"></scri
pt> |
4 <script type="text/javascript"> | 4 <script type="text/javascript"> |
5 function repaintTest() | 5 function repaintTest() |
6 { | 6 { |
7 if (window.internals) | 7 if (window.eventSender) |
8 window.internals.setPageScaleFactor(0.25, 0, 0); | 8 window.eventSender.setPageScaleFactor(0.25, 0, 0); |
9 } | 9 } |
10 </script> | 10 </script> |
11 </head> | 11 </head> |
12 | 12 |
13 <body onload="runRepaintTest();"> | 13 <body onload="runRepaintTest();"> |
14 This test must be run in DumpRenderTree as a pixel test. There should not be
visual aritfacts after scaling the page. | 14 This test must be run in DumpRenderTree as a pixel test. There should not be
visual aritfacts after scaling the page. |
15 <div style="width:500px; height:500px; background-color:green;"></div> | 15 <div style="width:500px; height:500px; background-color:green;"></div> |
16 </body> | 16 </body> |
17 </html> | 17 </html> |
OLD | NEW |