Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(66)

Unified Diff: LayoutTests/compositing/gestures/gesture-tapHighlight-nested-cursor3-expected.html

Issue 402603005: Disable touch highlight when the touched node has no hand-cursor. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Added another tests, handled image maps inside or outside of anchors. Created 6 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: LayoutTests/compositing/gestures/gesture-tapHighlight-nested-cursor3-expected.html
diff --git a/LayoutTests/compositing/gestures/gesture-tapHighlight-nested-cursor3-expected.html b/LayoutTests/compositing/gestures/gesture-tapHighlight-nested-cursor3-expected.html
new file mode 100644
index 0000000000000000000000000000000000000000..4a570e51f80a8ba33fb2a60f14e91224aeaf23b0
--- /dev/null
+++ b/LayoutTests/compositing/gestures/gesture-tapHighlight-nested-cursor3-expected.html
@@ -0,0 +1,28 @@
+<!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 id="highlight" class="fauxHighlight" style="z-index: 1; position: absolute"></div>
+ <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("expectedHighlight").getBoundingClientRect();
+ var highlight = document.getElementById("highlight");
+
+ highlight.style.left = clientRect.left + "px";
+ highlight.style.top = clientRect.top + "px";
+ highlight.style.width = clientRect.width + "px";
+ highlight.style.height = clientRect.height + "px";
+
+ if (window.testRunner)
+ testRunner.dumpAsTextWithPixelResults();
+ }
+ </script>
+</body>
+</html>

Powered by Google App Engine
This is Rietveld 408576698