| OLD | NEW |
| 1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
| 2 <html> | 2 <html> |
| 3 <head> | 3 <head> |
| 4 <title>Touch Adjustment : Testing that a drag/drop will start on a long pres
s - bug 92914</title> | 4 <title>Touch Adjustment : Testing that a drag/drop will start on a long pres
s - bug 92914</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 80 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 91 if (window.testRunner && window.internals && internals.touchNodeAdjusted
ToBestClickableNode) { | 91 if (window.testRunner && window.internals && internals.touchNodeAdjusted
ToBestClickableNode) { |
| 92 internals.settings.setTouchDragDropEnabled(true); | 92 internals.settings.setTouchDragDropEnabled(true); |
| 93 description('Tests if a long press gesture on links will trigger a d
rag/drop when touch adjustment is used.'); | 93 description('Tests if a long press gesture on links will trigger a d
rag/drop when touch adjustment is used.'); |
| 94 testDirectTouches(); | 94 testDirectTouches(); |
| 95 testIndirectTouches(); | 95 testIndirectTouches(); |
| 96 e.sandbox.style.display = 'none'; | 96 e.sandbox.style.display = 'none'; |
| 97 } | 97 } |
| 98 } | 98 } |
| 99 runTests(); | 99 runTests(); |
| 100 </script> | 100 </script> |
| 101 <script src="../fast/js/resources/js-test-post.js"></script> | |
| 102 </body> | 101 </body> |
| 103 </html> | 102 </html> |
| OLD | NEW |