| OLD | NEW |
| 1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
| 2 <html> | 2 <html> |
| 3 <head> | 3 <head> |
| 4 <script src="../../resources/js-test.js"></script> | 4 <script src="../../resources/js-test.js"></script> |
| 5 <style> | 5 <style> |
| 6 #test { width: 300px; font-size: 50px; line-height: 10px; border: solid 1px blac
k; padding: 5px; } | 6 #test { width: 300px; font-size: 50px; line-height: 10px; border: solid 1px blac
k; padding: 5px; } |
| 7 #test span { border: solid 1px red; } | 7 #test span { border: solid 1px red; } |
| 8 </style> | 8 </style> |
| 9 </head> | 9 </head> |
| 10 <body> | 10 <body> |
| (...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 58 clickAndVerify('Click after hello', test.offsetLeft + test.offsetWidth - 5,
test.offsetTop + test.offsetHeight / 2, 5); | 58 clickAndVerify('Click after hello', test.offsetLeft + test.offsetWidth - 5,
test.offsetTop + test.offsetHeight / 2, 5); |
| 59 clickAndVerify('Click after hello (top)', test.offsetLeft + test.offsetWidth
- 5, test.offsetTop + 1, 5); | 59 clickAndVerify('Click after hello (top)', test.offsetLeft + test.offsetWidth
- 5, test.offsetTop + 1, 5); |
| 60 clickAndVerify('Click after hello (bottom)', test.offsetLeft + test.offsetWi
dth - 5, test.offsetTop + test.offsetHeight - 1, 5); | 60 clickAndVerify('Click after hello (bottom)', test.offsetLeft + test.offsetWi
dth - 5, test.offsetTop + test.offsetHeight - 1, 5); |
| 61 | 61 |
| 62 debug(''); | 62 debug(''); |
| 63 debug('Click above black box'); | 63 debug('Click above black box'); |
| 64 clickBetweenEachLetterAndVerify(span.offsetTop + 1); | 64 clickBetweenEachLetterAndVerify(span.offsetTop + 1); |
| 65 | 65 |
| 66 debug(''); | 66 debug(''); |
| 67 debug('Click below black box'); | 67 debug('Click below black box'); |
| 68 clickBetweenEachLetterAndVerify(span.offsetTop + span.offsetHeight - 1); | 68 clickBetweenEachLetterAndVerify(span.offsetTop + span.offsetHeight - 5); |
| 69 | 69 |
| 70 test.style.display = 'none'; | 70 test.style.display = 'none'; |
| 71 } | 71 } |
| 72 | 72 |
| 73 | 73 |
| 74 </script> | 74 </script> |
| 75 </body> | 75 </body> |
| 76 </html> | 76 </html> |
| OLD | NEW |