| <!DOCTYPE html> |
| <html> |
| <head> |
| <script src="../../resources/js-test.js"></script> |
| <link rel="stylesheet" type="text/css" href="resources/link-highlight-style.css"> |
| </head> |
| <body onLoad="runTest();"> |
| <iframe id="targetFrame" src="resources/1-frame-composited-expected.html" style="position: relative; left: 10px; top: 10px; width: 400px; height: 150px;"></iframe> |
| <div style="position: relative; left: 10px; top: 20px; transform: translateZ(0);"> |
| This test is successful if "Target Link" is covered by a green box with square corners, |
| and the frame is partially scrolled. |
| </div> |
| <script> |
| function runTest() { |
| if (window.testRunner) { |
| document.getElementById("targetFrame").contentWindow.scrollTo(0, 20); |
| testRunner.dumpAsTextWithPixelResults(); |
| } |
| } |
| </script> |
| </body> |
| </html> |