| OLD | NEW |
| 1 <html> | 1 <html> |
| 2 <head> | 2 <head> |
| 3 <title>Test for bug 62243</title> | 3 <title>Test for bug 62243</title> |
| 4 <style type="text/css"> | 4 <style type="text/css"> |
| 5 #ruler { | 5 #ruler { |
| 6 -webkit-transform: translateZ(0); | 6 -webkit-transform: translateZ(0); |
| 7 border-bottom: 10px solid black; | 7 border-bottom: 10px solid black; |
| 8 width: 550px; | 8 width: 550px; |
| 9 height: 500px; | 9 height: 500px; |
| 10 } | 10 } |
| 11 </style> | 11 </style> |
| 12 <script src="../../fast/repaint/resources/repaint.js"></script> | 12 <script src="../../resources/run-after-display.js"></script> |
| 13 <script> | 13 <script> |
| 14 if (window.testRunner) | 14 if (window.testRunner) { |
| 15 testRunner.dumpAsTextWithPixelResults(); | 15 testRunner.dumpAsTextWithPixelResults(); |
| 16 testRunner.waitUntilDone(); |
| 17 } |
| 16 function repaintTest() | 18 function repaintTest() |
| 17 { | 19 { |
| 18 document.getElementById("ruler").style.height = "450px"; | 20 document.getElementById("ruler").style.height = "450px"; |
| 21 testRunner.notifyDone(); |
| 19 } | 22 } |
| 20 </script> | 23 </script> |
| 21 </head> | 24 </head> |
| 22 <body onload="runRepaintTest()"> | 25 <body onload="runAfterDisplay(repaintTest);"> |
| 23 <div id="ruler"> | 26 <div id="ruler"> |
| 24 </body> | 27 </body> |
| 25 </html> | 28 </html> |
| OLD | NEW |