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 transform: translateZ(0); | 6 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="../../resources/run-after-layout-and-paint.js"></script> | 12 <script src="../../../resources/run-after-layout-and-paint.js"></script> |
13 <script> | 13 <script> |
14 if (window.testRunner) { | 14 if (window.testRunner) { |
15 testRunner.dumpAsTextWithPixelResults(); | 15 testRunner.dumpAsTextWithPixelResults(); |
16 testRunner.waitUntilDone(); | 16 testRunner.waitUntilDone(); |
17 } | 17 } |
18 function repaintTest() | 18 function repaintTest() |
19 { | 19 { |
20 document.getElementById("ruler").style.height = "450px"; | 20 document.getElementById("ruler").style.height = "450px"; |
21 testRunner.notifyDone(); | 21 testRunner.notifyDone(); |
22 } | 22 } |
23 </script> | 23 </script> |
24 </head> | 24 </head> |
25 <body onload="runAfterLayoutAndPaint(repaintTest);"> | 25 <body onload="runAfterLayoutAndPaint(repaintTest);"> |
26 <div id="ruler"> | 26 <div id="ruler"> |
27 </body> | 27 </body> |
28 </html> | 28 </html> |
OLD | NEW |