OLD | NEW |
1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
2 <script src="resources/text-based-repaint.js"></script> | 2 <script src="resources/text-based-repaint.js"></script> |
3 <script> | 3 <script> |
4 function repaintTest() { | 4 function repaintTest() { |
5 if (window.testRunner) | 5 if (window.testRunner) |
6 testRunner.useUnfortunateSynchronousResizeMode(); | 6 testRunner.useUnfortunateSynchronousResizeMode(); |
7 window.resizeBy(0, 200); | 7 window.resizeBy(0, 200); |
8 } | 8 } |
9 onload = runRepaintAndPixelTest; | 9 onload = runRepaintAndPixelTest; |
10 </script> | 10 </script> |
11 Test passes if you see "Success" after window resizes. | 11 Test passes if you see "Success" after window resizes. |
12 <iframe style="position: absolute; left: 0; top: 0; border: none; height: 100%;
width: 100%;" src="../../fast/repaint/./resources/resize-iframe-text-src.html"><
/iframe> | 12 <iframe style="position: absolute; left: 0; top: 0; border: none; height: 100%;
width: 100%;" src="resources/resize-iframe-text-src.html"></iframe> |
OLD | NEW |