| Index: LayoutTests/compositing/gestures/gesture-tapHighlight-nested-cursor3.html
|
| diff --git a/LayoutTests/compositing/gestures/gesture-tapHighlight-nested-cursor3.html b/LayoutTests/compositing/gestures/gesture-tapHighlight-nested-cursor3.html
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..cc5b2f4925cb57fa3d9a1a26f6ac4fccd7529d50
|
| --- /dev/null
|
| +++ b/LayoutTests/compositing/gestures/gesture-tapHighlight-nested-cursor3.html
|
| @@ -0,0 +1,34 @@
|
| +<!DOCTYPE html>
|
| +<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 class="opaqueHighlight" id="expectedHighlight" style="border-style: solid; cursor: pointer">
|
| + Click here to go <a id="taptarget" href="#">there</a>
|
| + </div>
|
| +
|
| + <script>
|
| + function runTest() {
|
| + useMockHighlight();
|
| +
|
| + var clientRect = document.getElementById("taptarget").getBoundingClientRect();
|
| + x = (clientRect.left + clientRect.right) / 2;
|
| + y = (clientRect.top + clientRect.bottom) / 2;
|
| + if (window.testRunner) {
|
| + testRunner.dumpAsTextWithPixelResults();
|
| + testRunner.waitUntilDone();
|
| + }
|
| +
|
| + if (window.eventSender) {
|
| + eventSender.gestureShowPress(x, y);
|
| + window.setTimeout(function() { window.testRunner.notifyDone(); }, 0);
|
| + } else {
|
| + debug("This test requires DumpRenderTree.");
|
| + }
|
| + }
|
| + </script>
|
| +</body>
|
| +</html>
|
|
|