OLD | NEW |
1 <!DOCTYPE HTML> | 1 <!DOCTYPE HTML> |
2 <script src="../../../../resources/js-test.js"></script> | 2 <script src="../../../../resources/js-test.js"></script> |
3 <style> | 3 <style> |
4 #target { | 4 #target { |
5 position: relative; | 5 position: relative; |
6 width: 100px; | 6 width: 100px; |
7 height: 100px; | 7 height: 100px; |
8 border: 1px solid black; | 8 border: 1px solid black; |
9 } | 9 } |
10 #target div { | 10 #target div { |
11 position: absolute; | 11 position: absolute; |
12 top: 0; | 12 top: 0; |
13 left: 0; | 13 left: 0; |
14 background-color: white; | 14 background-color: white; |
15 width: 100px; | 15 width: 100px; |
16 height: 100px; | 16 height: 100px; |
17 } | 17 } |
18 #ancestor { | 18 #ancestor12 { |
19 width: 0; | 19 width: 0; |
20 height: 0; | 20 height: 0; |
21 } | 21 } |
22 </style> | 22 </style> |
23 <div id=target> | 23 <div id=target> |
24 <div id=ancestor12> | 24 <div id=ancestor12> |
25 <div id=child1>1</div> | 25 <div id=child1>1</div> |
26 <div id=child2>2</div> | 26 <div id=child2>2</div> |
27 </div> | 27 </div> |
28 <div id=child3>3</div> | 28 <div id=child3>3</div> |
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
64 | 64 |
65 debug("Sending GestureShowPress"); | 65 debug("Sending GestureShowPress"); |
66 eventSender.gestureShowPress(point.x, point.y, 30, 30); | 66 eventSender.gestureShowPress(point.x, point.y, 30, 30); |
67 | 67 |
68 debug("Sending GestureTap"); | 68 debug("Sending GestureTap"); |
69 eventSender.gestureTap(point.x, point.y, 30, 30); | 69 eventSender.gestureTap(point.x, point.y, 30, 30); |
70 } else { | 70 } else { |
71 debug("This test requires eventSender"); | 71 debug("This test requires eventSender"); |
72 } | 72 } |
73 </script> | 73 </script> |
OLD | NEW |