Upstream version 9.38.198.0
[platform/framework/web/crosswalk.git] / src / third_party / WebKit / LayoutTests / compositing / gestures / gesture-tapHighlight-2-iframe-scrolled-outer-late-composite.html
index 765f372..a3760f2 100644 (file)
@@ -2,17 +2,19 @@
 <html>
 <head>
 <script src="../../resources/js-test.js"></script>
+<script src="resources/link-highlight-helper.js"></script>
 <script src="../../resources/run-after-display.js"></script>
 <link rel="stylesheet" type="text/css" href="resources/link-highlight-style.css">
 </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 outer 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();