OLD | NEW |
(Empty) | |
| 1 This test documents the behavior of MouseEvent.offsetX/Y in response to HTMLElem
ent.click(). |
| 2 |
| 3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". |
| 4 |
| 5 |
| 6 Simulated click with .click(): |
| 7 PASS event.offsetX is 0 |
| 8 PASS event.offsetY is 0 |
| 9 Click with mouse at 0,0: |
| 10 PASS event.offsetX is 0 |
| 11 PASS event.offsetY is 0 |
| 12 Click with mouse at 40,50: |
| 13 PASS event.offsetX is 40 |
| 14 PASS event.offsetY is 50 |
| 15 PASS successfullyParsed is true |
| 16 |
| 17 TEST COMPLETE |
| 18 |
OLD | NEW |