Update To 11.40.268.0
[platform/framework/web/crosswalk.git] / src / third_party / WebKit / LayoutTests / compositing / gestures / gesture-tapHighlight-1-iframe-composited-scrolled-late-noncomposite-expected.html
1 <!DOCTYPE html>
2 <html>
3 <head>
4 <script src="../../resources/js-test.js"></script>
5 <link rel="stylesheet" type="text/css" href="resources/link-highlight-style.css">
6 </head>
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.
12 </div>
13 <script>
14 function runTest() {
15     if (window.testRunner) {
16         document.getElementById("targetFrame").contentWindow.scrollTo(0, 20);
17         testRunner.dumpAsTextWithPixelResults();
18     }
19 }
20 </script>
21 </body>
22 </html>