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

Side by Side Diff: LayoutTests/compositing/gestures/gesture-tapHighlight-simple-cancel.html

Issue 338543003: Gesture event hit test refactoring and reduction (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Fix release build 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | LayoutTests/compositing/gestures/gesture-tapHighlight-simple-cancel-expected.html » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <html> 2 <html>
3 <head> 3 <head>
4 <script src="../../resources/js-test.js"></script> 4 <script src="../../resources/js-test.js"></script>
5 <script src="../../resources/run-after-display.js"></script> 5 <script src="../../resources/run-after-display.js"></script>
6 <style>
7 /* Don't test active state. Technically sending a second showPress before
8 the first has been completed is illegal, so whether or not blink clears the
9 active state on the first node irrelevant.
10 */
11 a, a:active {
12 color: #00c;
13 }
14 </style>
6 </head> 15 </head>
7 <body onload="runTest();" onclick="doNothing();"> 16 <body onload="runTest();" onclick="doNothing();">
8 <div style="-webkit-transform: translateZ(0); position: relative; left: 10px; to p: 40px"> 17 <div style="-webkit-transform: translateZ(0); position: relative; left: 10px; to p: 40px">
9 <a href="" id="targetLink" style="-webkit-tap-highlight-color: rgba(0, 255, 0, 0 .5)">Target Link.</a> 18 <a href="" id="targetLink" style="-webkit-tap-highlight-color: rgba(0, 255, 0, 0 .5)">Target Link.</a>
10 </div> 19 </div>
11 <div style="position: relative; left: 10px; top: 70px"> 20 <div style="position: relative; left: 10px; top: 70px">
12 This test is successful if no link highlight appears (in particular, the entire viewport should remain unchanged, and the background 21 This test is successful if no link highlight appears (in particular, the entire viewport should remain unchanged, and the background
13 should be white and not grey). 22 should be white and not grey).
14 </div> 23 </div>
15 <script> 24 <script>
(...skipping 17 matching lines...) Expand all
33 testRunner.notifyDone(); 42 testRunner.notifyDone();
34 }); 43 });
35 } else { 44 } else {
36 debug("This test requires DumpRenderTree."); 45 debug("This test requires DumpRenderTree.");
37 } 46 }
38 } 47 }
39 </script> 48 </script>
40 </script> 49 </script>
41 </body> 50 </body>
42 </html> 51 </html>
OLDNEW
« no previous file with comments | « no previous file | LayoutTests/compositing/gestures/gesture-tapHighlight-simple-cancel-expected.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698