OLD | NEW |
1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
2 <html> | 2 <html> |
3 <script src="../../../js/resources/js-test-pre.js"></script> | 3 <script src="../../../js/resources/js-test-pre.js"></script> |
4 | 4 |
5 <style type="text/css"> | 5 <style type="text/css"> |
6 ::-webkit-scrollbar { | 6 ::-webkit-scrollbar { |
7 width: 0px; | 7 width: 0px; |
8 height: 0px; | 8 height: 0px; |
9 } | 9 } |
10 | 10 |
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
76 debug("Tapping on the Click Me div should dispatch a click to the Click Me d
iv and not to the Don't Click Me div and the Click Me div should still be visibl
e."); | 76 debug("Tapping on the Click Me div should dispatch a click to the Click Me d
iv and not to the Don't Click Me div and the Click Me div should still be visibl
e."); |
77 shouldBe(document.elementFromPoint(150, 150).id, "clickme"); | 77 shouldBe(document.elementFromPoint(150, 150).id, "clickme"); |
78 eventSender.gestureTap(150, 150); | 78 eventSender.gestureTap(150, 150); |
79 shouldBe("clickMeCount", "1"); | 79 shouldBe("clickMeCount", "1"); |
80 shouldBe("dontClickMeCount", "0"); | 80 shouldBe("dontClickMeCount", "0"); |
81 shouldBe("clickMe.offsetTop", "100"); | 81 shouldBe("clickMe.offsetTop", "100"); |
82 } | 82 } |
83 | 83 |
84 runTests(); | 84 runTests(); |
85 </script> | 85 </script> |
86 <script src="../../../js/resources/js-test-post.js"></script> | |
87 </body> | 86 </body> |
88 </html> | 87 </html> |
OLD | NEW |