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