| OLD | NEW |
| 1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
| 2 <html> | 2 <html> |
| 3 <head> | 3 <head> |
| 4 <title>Touch Adjustment : Prefer deepest event handler - bug 78801</title> | 4 <title>Touch Adjustment : Prefer deepest event handler - bug 78801</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 { font: 16px Ahem; } | 8 #sandbox { font: 16px Ahem; } |
| 9 .box { border: 1px solid black; border-radius: 5px 5px; margin: 12px; ma
x-width: 40em; } | 9 .box { border: 1px solid black; border-radius: 5px 5px; margin: 12px; ma
x-width: 40em; } |
| 10 </style> | 10 </style> |
| (...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 83 { | 83 { |
| 84 if (window.testRunner && window.internals && internals.touchNodeAdjusted
ToBestClickableNode) { | 84 if (window.testRunner && window.internals && internals.touchNodeAdjusted
ToBestClickableNode) { |
| 85 description('Test the case where a clickable target is nested inside
a document that is monitoring clicks. The target with the local event-handler s
hould be chosen if multiple targets are touched.'); | 85 description('Test the case where a clickable target is nested inside
a document that is monitoring clicks. The target with the local event-handler s
hould be chosen if multiple targets are touched.'); |
| 86 testDirectTouches(); | 86 testDirectTouches(); |
| 87 testPreferedTouch(); | 87 testPreferedTouch(); |
| 88 e['sandbox'].style.display = 'none'; | 88 e['sandbox'].style.display = 'none'; |
| 89 } | 89 } |
| 90 } | 90 } |
| 91 runTests(); | 91 runTests(); |
| 92 </script> | 92 </script> |
| 93 <script src="../fast/js/resources/js-test-post.js"></script> | |
| 94 </body> | 93 </body> |
| 95 </html> | 94 </html> |
| OLD | NEW |