Upstream version 9.38.198.0
[platform/framework/web/crosswalk.git] / src / third_party / WebKit / LayoutTests / compositing / gestures / gesture-tapHighlight-2-iframe-scrolled-inner.html
index 669ffb1..3debd9e 100644 (file)
@@ -1,16 +1,18 @@
 <!DOCTYPE html>
 <html>
 <head>
-<script src="../../fast/js/resources/js-test-pre.js"></script>
+<script src="../../resources/js-test.js"></script>
+<script src="resources/link-highlight-helper.js"></script>
 </head>
 <body onLoad="runTest();">
 <iframe id="nestingFrame" src="resources/1-nested-frame-noncomposited.html" style="position: relative; left: 10px; top: 10px; width: 450px; 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 inner frame is partially scrolled.
 </div>
 <script>
 function runTest() {
+    useMockHighlight();
     var nestingFrame = document.getElementById('nestingFrame');
     var targetFrame = nestingFrame.contentDocument.getElementById('targetFrame');
     var clientRect = targetFrame.contentDocument.getElementById('targetLink').getBoundingClientRect();