OLD | NEW |
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 Loading... |
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> |
OLD | NEW |