2 Verifies mouse event co-ordinates from a tap in an iframe that changes position on each mouse event
4 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
7 Sending GestureTapDown to 25,25
8 Sending GestureShowPress
11 Received mousemove in child frame with currentOffset=0 expectedOffset=0
12 PASS event.screenX is 25
13 PASS event.screenY is 25
14 PASS event.clientX is 25
15 PASS event.clientY is 25
16 PASS event.pageX is 25
17 PASS event.pageY is 25
18 PASS event.target.nodeName is "DIV"
19 Target element is at (25,25,30,30)
20 PASS targetRect.right is >= event.clientX
21 PASS event.clientX is >= targetRect.left
22 PASS targetRect.bottom is >= event.clientY
23 PASS event.clientY is >= targetRect.top
25 Received mousedown in child frame with currentOffset=5 expectedOffset=5
26 PASS event.screenX is 25
27 PASS event.screenY is 25
28 PASS event.clientX is 20
29 PASS event.clientY is 20
30 PASS event.pageX is 20
31 PASS event.pageY is 20
32 PASS event.target.nodeName is "DIV"
33 Target element is at (20,20,25,25)
34 PASS targetRect.right is >= event.clientX
35 PASS event.clientX is >= targetRect.left
36 PASS targetRect.bottom is >= event.clientY
37 PASS event.clientY is >= targetRect.top
39 Received mouseup in child frame with currentOffset=10 expectedOffset=10
40 PASS event.screenX is 25
41 PASS event.screenY is 25
42 PASS event.clientX is 15
43 PASS event.clientY is 15
44 PASS event.pageX is 15
45 PASS event.pageY is 15
46 PASS event.target.nodeName is "DIV"
47 Target element is at (15,15,20,20)
48 PASS targetRect.right is >= event.clientX
49 PASS event.clientX is >= targetRect.left
50 PASS targetRect.bottom is >= event.clientY
51 PASS event.clientY is >= targetRect.top
53 Received click in child frame with currentOffset=15 expectedOffset=10
54 PASS event.screenX is 25
55 PASS event.screenY is 25
56 PASS event.clientX is 15
57 PASS event.clientY is 15
58 PASS event.pageX is 15
59 PASS event.pageY is 15
60 PASS event.target.nodeName is "BODY"
61 Target element is at (0,0,500,500)
62 PASS targetRect.right is >= event.clientX
63 PASS event.clientX is >= targetRect.left
64 PASS targetRect.bottom is >= event.clientY
65 PASS event.clientY is >= targetRect.top
66 PASS eventReceived.mousemove is true
67 PASS eventReceived.mousedown is true
68 PASS eventReceived.mouseup is true
69 PASS eventReceived.click is true
70 PASS successfullyParsed is true