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

Unified Diff: LayoutTests/compositing/gestures/gesture-tapHighlight-nested-cursor-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: Reverted back to last working logic Created 6 years, 4 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-cursor-expected.html
diff --git a/LayoutTests/compositing/gestures/gesture-tapHighlight-nested-cursor-expected.html b/LayoutTests/compositing/gestures/gesture-tapHighlight-nested-cursor-expected.html
new file mode 100644
index 0000000000000000000000000000000000000000..1a512442f8f9380f5d3217dc15f33b8e7652aa09
--- /dev/null
+++ b/LayoutTests/compositing/gestures/gesture-tapHighlight-nested-cursor-expected.html
@@ -0,0 +1,32 @@
+<!DOCTYPE html>
+<html>
+<head>
+ <script src="../../resources/js-test.js"></script>
+ <link rel="stylesheet" type="text/css" href="resources/link-highlight-style.css">
+ <style>
+ #outerDiv {
+ width: 150px;
+ }
+ #outerDiv, #outerDiv div {
+ padding: 15px;
+ border-style: solid;
+ }
+ </style>
+</head>
+<body onload="runTest();">
+ <div class="opaqueHighlight" id="outerDiv" style="cursor: pointer">
+ <div style="cursor: pointer;">
+ <div style="cursor: default;">
+ <div id="innerDiv"></div>
+ </div>
+ </div>
+ </div>
+
+ <script>
+ function runTest() {
+ if (window.testRunner)
+ testRunner.dumpAsTextWithPixelResults();
+ }
+ </script>
+</body>
+</html>

Powered by Google App Engine
This is Rietveld 408576698