Upstream version 9.38.198.0
[platform/framework/web/crosswalk.git] / src / third_party / WebKit / LayoutTests / compositing / gestures / gesture-tapHighlight-simple-scaledX.html
index 095d439..1af3e20 100644 (file)
@@ -2,6 +2,7 @@
 <html>
 <head>
 <script src="../../resources/js-test.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();">
 </div>
 </div>
 <div style="position: relative; left: 10px; top: 200px; -webkit-transform: translateZ(0);">
-This test is successful if "Target Link" above is covered in a green rectangle with rounded corners.
+This test is successful if "Target Link" above is covered in a green rectangle with square corners.
 </div>
 <script>
 function runTest() {
+    useMockHighlight();
+
     var clientRect = document.getElementById('targetLink').getBoundingClientRect();
     x = (clientRect.left + clientRect.right) / 2;
     y = (clientRect.top + clientRect.bottom) / 2;