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

Unified Diff: LayoutTests/compositing/gestures/gesture-tapHighlight-nested-cursor2-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-cursor2-expected.html
diff --git a/LayoutTests/compositing/gestures/gesture-tapHighlight-simple-div-boxshadow-fixed-nested2-expected.html b/LayoutTests/compositing/gestures/gesture-tapHighlight-nested-cursor2-expected.html
similarity index 58%
copy from LayoutTests/compositing/gestures/gesture-tapHighlight-simple-div-boxshadow-fixed-nested2-expected.html
copy to LayoutTests/compositing/gestures/gesture-tapHighlight-nested-cursor2-expected.html
index 58d785f3da1cd612c5b24ec6e36a54c592ae1dd9..15b468246b2337fb9ec64e7b58cba872b6264c55 100644
--- a/LayoutTests/compositing/gestures/gesture-tapHighlight-simple-div-boxshadow-fixed-nested2-expected.html
+++ b/LayoutTests/compositing/gestures/gesture-tapHighlight-nested-cursor2-expected.html
@@ -2,20 +2,24 @@
<html>
<head>
<script src="../../resources/js-test.js"></script>
-<script src="resources/target-div-run-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 style="position: absolute; top: 10px; left: 10px; -webkit-transform: translateZ(0);">
-<div style="position: relative; top: 10px; left: 25px;">
-<div id="targetDiv" style="position: fixed; left: 50px; top: 50px; width: 50px; height: 50px; box-shadow: 0px 4px 23px 5px rgba(0, 0, 0, 0.2); border-style: solid; border-width: 2px;">
-<br><center>Target</center><br>
+<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;">
+none
+<div style="position: fixed; top: 120px; left: 110px; width: 150px; height: 70px; border-style: solid; cursor: pointer;">
+pointer
+<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 the box labelled "Target" has a green rectangle centered on it.
+This test is successful if the outermost box above is covered with a green rectangle.
</div>
<script>
function runTest() {
@@ -31,6 +35,5 @@ function runTest() {
testRunner.dumpAsTextWithPixelResults();
}
</script>
-</script>
</body>
</html>

Powered by Google App Engine
This is Rietveld 408576698