Upstream version 9.38.198.0
[platform/framework/web/crosswalk.git] / src / third_party / WebKit / LayoutTests / compositing / gestures / gesture-tapHighlight-1-iframe-composited-scrolled-late-noncomposite.html
index f76eada..5ad2033 100644 (file)
@@ -3,16 +3,18 @@
 <head>
 <script src="../../resources/js-test.js"></script>
 <script src="../../resources/run-after-display.js"></script>
+<script src="resources/link-highlight-helper.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.html" style="position: relative; left: 10px; top: 10px; width: 400px; height: 150px;"></iframe>
 <div style="position: relative; left: 10px; top: 20px; -webkit-transform: translateZ(0);">
-This test is successful if "Target Link" is covered by a green box with rounded rectangles,
+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() {
+    useMockHighlight();
     var targetFrame = document.getElementById("targetFrame");
     var clientRect = targetFrame.contentDocument.getElementById('targetLink').getBoundingClientRect();
     x = (clientRect.left + clientRect.right) / 2;