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

Side by Side Diff: LayoutTests/fast/events/touch/page-scaled-touch-gesture-click.html

Issue 190723007: Fix tests to be compatible with Android scale initialization. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Remove substantive change, change only tests Created 6 years, 7 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
OLDNEW
1 <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN"> 1 <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
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 <style type="text/css"> 5 <style type="text/css">
6 ::-webkit-scrollbar {
7 width: 0px;
8 height: 0px;
9 }
6 #touchtarget { 10 #touchtarget {
7 width: 100px; 11 width: 100px;
8 height: 100px; 12 height: 100px;
9 background: blue; 13 background: blue;
10 } 14 }
11 </style> 15 </style>
12 </head> 16 </head>
13 <body onload="runTest();"> 17 <body style="width: 2000px; height: 2000px" onload="runTest();">
14 <div id="touchtarget"> 18 <div id="touchtarget">
15 19
16 <p id="description"></p> 20 <p id="description"></p>
17 <div id="console"></div> 21 <div id="console"></div>
18 22
19 <script> 23 <script>
20 var clickEventsReceived = 0; 24 var clickEventsReceived = 0;
21 var expectedMouseEvents = 4; 25 var expectedMouseEvents = 4;
22 var mouseEventsReceived = 0; 26 var mouseEventsReceived = 0;
23 var eventTypes = [ 'mousemove', 'mousedown', 'mouseup', 'click' ]; 27 var eventTypes = [ 'mousemove', 'mousedown', 'mouseup', 'click' ];
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after
86 } else { 90 } else {
87 endTest(); 91 endTest();
88 } 92 }
89 } else { 93 } else {
90 debug("This test requires DumpRenderTree. Tap on the blue rect to log." ) 94 debug("This test requires DumpRenderTree. Tap on the blue rect to log." )
91 } 95 }
92 } 96 }
93 </script> 97 </script>
94 </body> 98 </body>
95 </html> 99 </html>
OLDNEW
« no previous file with comments | « LayoutTests/fast/events/scale-and-scroll-iframe-window.html ('k') | LayoutTests/fast/frames/frame-set-rotation-hit.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698