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

Side by Side Diff: LayoutTests/compositing/gestures/gesture-tapHighlight-nested-cursor3.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: 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 unified diff | Download patch
OLDNEW
(Empty)
1 <!DOCTYPE html>
2 <html>
3 <head>
4 <script src="../../resources/js-test.js"></script>
5 <link rel="stylesheet" type="text/css" href="resources/link-highlight-style.cs s">
6 </head>
7 <body onload="runTest();">
8 <div class="opaqueHighlight" id="expectedHighlight" style="border-style: solid ; cursor: pointer">
9 Click here to go <a id="taptarget" href="#">there</a>
10 </div>
11
12 <script>
13 function runTest() {
14 var clientRect = document.getElementById("taptarget").getBoundingClientRec t();
15 x = (clientRect.left + clientRect.right) / 2;
16 y = (clientRect.top + clientRect.bottom) / 2;
17 if (window.testRunner) {
18 testRunner.dumpAsTextWithPixelResults();
19 testRunner.waitUntilDone();
20 }
21
22 if (window.eventSender) {
23 eventSender.gestureShowPress(x, y);
24 window.setTimeout(function() { window.testRunner.notifyDone(); }, 0);
25 } else {
26 debug("This test requires DumpRenderTree.");
27 }
28 }
29 </script>
30 </body>
31 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698