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

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: Added 2 new tests. 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-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..8f6af8960941ce93a1f19df8ee700d99c3eec6ca
--- /dev/null
+++ b/LayoutTests/compositing/gestures/gesture-tapHighlight-nested-cursor-expected.html
@@ -0,0 +1,30 @@
+<!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="targetDiv" style="position: fixed; top: 100px; left: 10px; width: 350px; height: 110px; border-style: solid; cursor: pointer; font-size: x-small">
+pointer
+<div style="position: fixed; top: 110px; left: 60px; width: 250px; height: 90px; border-style: solid; cursor: pointer;">
+pointer
+<div style="position: fixed; top: 120px; left: 110px; width: 150px; height: 70px; border-style: solid; cursor: default;">
+default
+<div style="position: fixed; top: 130px; left: 160px; width: 50px; height: 50px; border-style: solid;">
+none
+</div>
+</div>
+</div>
+</div>
+<div style="position: absolute; left: 10px; top: 250px; -webkit-transform: translateZ(0);">
+This test is successful if there is no green rectangle above.
+</div>
+<script>
+function runTest() {
+ if (window.testRunner)
+ testRunner.dumpAsTextWithPixelResults();
+}
+</script>
+</body>
+</html>

Powered by Google App Engine
This is Rietveld 408576698