Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / compositing / gestures / gesture-tapHighlight-2-iframe-scrolled-outer-late-composite-expected.html
blob38ac77cccebe835258a36cd4978302f066af990b
1 <!DOCTYPE html>
2 <html>
3 <head>
4 <script src="../../resources/js-test.js"></script>
5 <script src="resources/link-highlight-helper.js"></script>
6 <link rel="stylesheet" type="text/css" href="resources/link-highlight-style.css">
7 </head>
8 <body onLoad="runTest();">
9 <iframe id="nestingFrame" src="resources/1-nested-frame-noncomposited-expected.html" style="position: relative; left: 10px; top: 10px; width: 450px; height: 150px;"></iframe>
10 <div style="position: relative; left: 10px; top: 20px; transform: translateZ(0);">
11 This test is successful if "Target Link" is covered by a green box with square corners,
12 and the outer frame is partially scrolled.
13 </div>
14 <script>
15 function runTest() {
16 var nestingFrame = document.getElementById('nestingFrame');
17 if (window.testRunner) {
18 nestingFrame.contentWindow.scrollTo(0, 20);
19 testRunner.dumpAsTextWithPixelResults();
22 </script>
23 </body>
24 </html>