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

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

Issue 637763002: Unprefix usage of -webkit-transform in tests (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 2 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
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> 6 <style>
7 /* Don't test active state. Technically sending a second showPress before 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 8 the first has been completed is illegal, so whether or not blink clears the
9 active state on the first node irrelevant. 9 active state on the first node irrelevant.
10 */ 10 */
11 a, a:active { 11 a, a:active {
12 color: #00c; 12 color: #00c;
13 } 13 }
14 </style> 14 </style>
15 </head> 15 </head>
16 <body onload="runTest();" onclick="doNothing();"> 16 <body onload="runTest();" onclick="doNothing();">
17 <div style="-webkit-transform: translateZ(0); position: relative; left: 10px; to p: 40px"> 17 <div style="transform: translateZ(0); position: relative; left: 10px; top: 40px" >
18 <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>
19 </div> 19 </div>
20 <div style="position: relative; left: 10px; top: 70px"> 20 <div style="position: relative; left: 10px; top: 70px">
21 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
22 should be white and not grey). 22 should be white and not grey).
23 </div> 23 </div>
24 <script> 24 <script>
25 // This test makes sure a previous highlight does not survive beyond the next Ge stureShowPress, even 25 // This test makes sure a previous highlight does not survive beyond the next Ge stureShowPress, even
26 // if the new event fails to produce a valid target for highlighting. 26 // if the new event fails to produce a valid target for highlighting.
27 function runTest() { 27 function runTest() {
(...skipping 14 matching lines...) Expand all
42 testRunner.notifyDone(); 42 testRunner.notifyDone();
43 }); 43 });
44 } else { 44 } else {
45 debug("This test requires DumpRenderTree."); 45 debug("This test requires DumpRenderTree.");
46 } 46 }
47 } 47 }
48 </script> 48 </script>
49 </script> 49 </script>
50 </body> 50 </body>
51 </html> 51 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698