| 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="../resources/js-test.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> |
| 11 </head> | 11 </head> |
| 12 | 12 |
| 13 <body> | 13 <body> |
| 14 | 14 |
| 15 <div id=sandbox> | 15 <div id=sandbox> |
| (...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 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 </body> | 93 </body> |
| 94 </html> | 94 </html> |
| OLD | NEW |