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="../resources/ahem.js"></script> |
5 <script src="../resources/js-test.js"></script> | 6 <script src="../resources/js-test.js"></script> |
6 <script src="resources/touchadjustment.js"></script> | 7 <script src="resources/touchadjustment.js"></script> |
7 <style> | 8 <style> |
8 #sandbox { font: 16px Ahem; } | 9 #sandbox { font: 16px Ahem; } |
9 .box { border: 1px solid black; border-radius: 5px 5px; margin: 12px; ma
x-width: 40em; } | 10 .box { border: 1px solid black; border-radius: 5px 5px; margin: 12px; ma
x-width: 40em; } |
10 </style> | 11 </style> |
11 </head> | 12 </head> |
12 | 13 |
13 <body> | 14 <body> |
14 | 15 |
(...skipping 70 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.'); | 86 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(); | 87 testDirectTouches(); |
87 testPreferedTouch(); | 88 testPreferedTouch(); |
88 e['sandbox'].style.display = 'none'; | 89 e['sandbox'].style.display = 'none'; |
89 } | 90 } |
90 } | 91 } |
91 runTests(); | 92 runTests(); |
92 </script> | 93 </script> |
93 </body> | 94 </body> |
94 </html> | 95 </html> |
OLD | NEW |