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 src="../../resources/run-after-display.js"></script> |
10 <script> | 10 <script> |
11 if (window.internals && window.testRunner) { | 11 if (window.internals && window.testRunner) { |
12 testRunner.dumpAsTextWithPixelResults(); | 12 testRunner.dumpAsTextWithPixelResults(); |
13 testRunner.waitUntilDone(); | 13 testRunner.waitUntilDone(); |
14 document.getElementById('info').style.visibility = "hidden"; | 14 document.getElementById('info').style.visibility = "hidden"; |
15 internals.settings.setMockScrollbarsEnabled(false); | 15 internals.settings.setMockScrollbarsEnabled(false); |
16 internals.setScrollViewPosition(document, -20, -20); | 16 internals.setFrameViewPosition(document, -20, -20); |
17 runAfterDisplay(function() { | 17 runAfterDisplay(function() { |
18 internals.setScrollViewPosition(document, -60, -60); | 18 internals.setFrameViewPosition(document, -60, -60); |
19 testRunner.notifyDone(); | 19 testRunner.notifyDone(); |
20 }); | 20 }); |
21 } | 21 } |
22 </script> | 22 </script> |
23 </body> | 23 </body> |
24 </html> | 24 </html> |
OLD | NEW |