OLD | NEW |
1 <html> | 1 <html> |
2 <title>Test rubber banding overhang drawing in compositing path with changes to
the size of the overhang</title> | 2 <title>Test rubber banding overhang drawing in compositing path with changes to
the size of the overhang</title> |
3 <body> | 3 <body> |
4 <div style="height:30px; background-color:black; width:100%"> | 4 <div style="height:30px; background-color:black; width:100%"> |
5 <b style="-webkit-transform:translateZ(0); position:absolute"></b> | 5 <b style="-webkit-transform:translateZ(0); position:absolute"></b> |
6 </div> | 6 </div> |
7 | 7 |
8 <div id="info">This test requires DRT.</div> | 8 <div id="info">This test requires DRT.</div> |
| 9 <script src="../../resources/run-after-display.js"></script> |
9 <script> | 10 <script> |
10 if (window.internals && window.testRunner) { | 11 if (window.internals && window.testRunner) { |
11 testRunner.dumpAsTextWithPixelResults(); | 12 testRunner.dumpAsTextWithPixelResults(); |
| 13 testRunner.waitUntilDone(); |
12 document.getElementById('info').style.visibility = "hidden"; | 14 document.getElementById('info').style.visibility = "hidden"; |
13 internals.settings.setMockScrollbarsEnabled(false); | 15 internals.settings.setMockScrollbarsEnabled(false); |
14 internals.setScrollViewPosition(document, -20, -20); | 16 internals.setScrollViewPosition(document, -20, -20); |
15 testRunner.display(); | 17 runAfterDisplay(function() { |
16 internals.setScrollViewPosition(document, -60, -60); | 18 internals.setScrollViewPosition(document, -60, -60); |
| 19 testRunner.notifyDone(); |
| 20 }); |
17 } | 21 } |
18 </script> | 22 </script> |
19 </body> | 23 </body> |
20 </html> | 24 </html> |
OLD | NEW |