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..310363a07de81c1d6f3df95486c7ef7a4631eb2d |
--- /dev/null |
+++ b/LayoutTests/compositing/gestures/gesture-tapHighlight-nested-cursor3.html |
@@ -0,0 +1,31 @@ |
+<!DOCTYPE html> |
+<html> |
+<head> |
+ <script src="../../resources/js-test.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() { |
+ 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> |