1 This test documents the behavior of MouseEvent.offsetX/Y in response to HTMLElement.click().
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
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