Upstream version 5.34.92.0
[platform/framework/web/crosswalk.git] / src / third_party / WebKit / LayoutTests / compositing / gestures / gesture-tapHighlight-2-iframe-scrolled-outer-late-composite-expected.html
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; -webkit-transform: translateZ(0);">
11 This test is successful if "Target Link" is covered by a green box with rounded rectangles,
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();
20     }
21 }
22 </script>
23 </body>
24 </html>