Upstream version 9.38.198.0
[platform/framework/web/crosswalk.git] / src / third_party / WebKit / LayoutTests / compositing / gestures / gesture-tapHighlight-simple-div-boxshadow-fixed.html
index a2f7071..f47165a 100644 (file)
@@ -2,6 +2,7 @@
 <html>
 <head>
 <script src="resources/target-div-run-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();">
@@ -15,6 +16,8 @@ This test is successful if the box labelled "Target" has a green rectangle cente
 </div>
 <script>
 function runTest() {
+    useMockHighlight();
+
     var clientRect = document.getElementById('targetDiv').getBoundingClientRect();
     x = (clientRect.left + clientRect.right) / 2;
     y = (clientRect.top +  clientRect.bottom) / 2;