| OLD | NEW |
| 1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
| 2 <html> | 2 <html> |
| 3 <head> | 3 <head> |
| 4 <title>Touch Adjustment : Testing that a context menu will appear on a two-f
inger tap - bug 99947</title> | 4 <title>Touch Adjustment : Testing that a context menu will appear on a two-f
inger tap - bug 99947</title> |
| 5 <script src="../fast/js/resources/js-test-pre.js"></script> | 5 <script src="../fast/js/resources/js-test-pre.js"></script> |
| 6 <script src="resources/touchadjustment.js"></script> | 6 <script src="resources/touchadjustment.js"></script> |
| 7 <style> | 7 <style> |
| 8 #sandbox { | 8 #sandbox { |
| 9 position: absolute; | 9 position: absolute; |
| 10 left: 0px; | 10 left: 0px; |
| (...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 90 { | 90 { |
| 91 if (window.testRunner && window.internals && internals.touchNodeAdjusted
ToBestClickableNode) { | 91 if (window.testRunner && window.internals && internals.touchNodeAdjusted
ToBestClickableNode) { |
| 92 description('Tests if a two finger tap gesture on links will trigger
a context menu when touch adjustment is used.'); | 92 description('Tests if a two finger tap gesture on links will trigger
a context menu when touch adjustment is used.'); |
| 93 testDirectTouches(); | 93 testDirectTouches(); |
| 94 testIndirectTouches(); | 94 testIndirectTouches(); |
| 95 e.sandbox.style.display = 'none'; | 95 e.sandbox.style.display = 'none'; |
| 96 } | 96 } |
| 97 } | 97 } |
| 98 runTests(); | 98 runTests(); |
| 99 </script> | 99 </script> |
| 100 <script src="../fast/js/resources/js-test-post.js"></script> | |
| 101 </body> | 100 </body> |
| 102 </html> | 101 </html> |
| OLD | NEW |