OLD | NEW |
1 This tests basic single touch event support. | 1 This tests basic single touch event support. |
2 | 2 |
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". | 3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". |
4 | 4 |
5 | 5 |
6 PASS lastEvent.type is "touchstart" | 6 PASS lastEvent.type is "touchstart" |
7 PASS lastEvent.touches.length is 1 | 7 PASS lastEvent.touches.length is 1 |
8 PASS lastEvent.changedTouches.length is 1 | 8 PASS lastEvent.changedTouches.length is 1 |
9 PASS lastEvent.targetTouches.length is 1 | 9 PASS lastEvent.targetTouches.length is 1 |
10 PASS lastEvent.pageX is 0 | |
11 PASS lastEvent.pageY is 0 | |
12 PASS lastEvent.shiftKey is false | 10 PASS lastEvent.shiftKey is false |
13 PASS lastEvent.touches[0].target.id is "touchtarget" | 11 PASS lastEvent.touches[0].target.id is "touchtarget" |
14 PASS lastEvent.touches[0].pageX is 10 | 12 PASS lastEvent.touches[0].pageX is 10 |
15 PASS lastEvent.touches[0].pageY is 10 | 13 PASS lastEvent.touches[0].pageY is 10 |
16 PASS lastEvent.touches[0].clientX is 10 | 14 PASS lastEvent.touches[0].clientX is 10 |
17 PASS lastEvent.touches[0].clientY is 10 | 15 PASS lastEvent.touches[0].clientY is 10 |
18 PASS lastEvent.touches[0].identifier is 0 | 16 PASS lastEvent.touches[0].identifier is 0 |
19 PASS lastEvent.changedTouches[0].pageX is 10 | 17 PASS lastEvent.changedTouches[0].pageX is 10 |
20 PASS lastEvent.changedTouches[0].pageY is 10 | 18 PASS lastEvent.changedTouches[0].pageY is 10 |
21 PASS lastEvent.changedTouches[0].clientX is 10 | 19 PASS lastEvent.changedTouches[0].clientX is 10 |
22 PASS lastEvent.changedTouches[0].clientY is 10 | 20 PASS lastEvent.changedTouches[0].clientY is 10 |
23 PASS lastEvent.changedTouches[0].identifier is 0 | 21 PASS lastEvent.changedTouches[0].identifier is 0 |
24 PASS lastEvent.targetTouches[0].pageX is 10 | 22 PASS lastEvent.targetTouches[0].pageX is 10 |
25 PASS lastEvent.targetTouches[0].pageY is 10 | 23 PASS lastEvent.targetTouches[0].pageY is 10 |
26 PASS lastEvent.targetTouches[0].clientX is 10 | 24 PASS lastEvent.targetTouches[0].clientX is 10 |
27 PASS lastEvent.targetTouches[0].clientY is 10 | 25 PASS lastEvent.targetTouches[0].clientY is 10 |
28 PASS lastEvent.targetTouches[0].identifier is 0 | 26 PASS lastEvent.targetTouches[0].identifier is 0 |
29 PASS lastEvent.type is "touchmove" | 27 PASS lastEvent.type is "touchmove" |
30 PASS lastEvent.touches.length is 1 | 28 PASS lastEvent.touches.length is 1 |
31 PASS lastEvent.changedTouches.length is 1 | 29 PASS lastEvent.changedTouches.length is 1 |
32 PASS lastEvent.targetTouches.length is 1 | 30 PASS lastEvent.targetTouches.length is 1 |
33 PASS lastEvent.pageX is 0 | |
34 PASS lastEvent.pageY is 0 | |
35 PASS lastEvent.touches[0].pageX is 50 | 31 PASS lastEvent.touches[0].pageX is 50 |
36 PASS lastEvent.touches[0].pageY is 50 | 32 PASS lastEvent.touches[0].pageY is 50 |
37 PASS lastEvent.touches[0].clientX is 50 | 33 PASS lastEvent.touches[0].clientX is 50 |
38 PASS lastEvent.touches[0].clientY is 50 | 34 PASS lastEvent.touches[0].clientY is 50 |
39 PASS lastEvent.touches[0].identifier is 0 | 35 PASS lastEvent.touches[0].identifier is 0 |
40 PASS lastEvent.shiftKey is true | 36 PASS lastEvent.shiftKey is true |
41 PASS lastEvent.altKey is true | 37 PASS lastEvent.altKey is true |
42 PASS lastEvent.ctrlKey is false | 38 PASS lastEvent.ctrlKey is false |
43 PASS lastEvent.metaKey is false | 39 PASS lastEvent.metaKey is false |
44 PASS lastEvent.type is "touchend" | 40 PASS lastEvent.type is "touchend" |
45 PASS lastEvent.touches.length is 0 | 41 PASS lastEvent.touches.length is 0 |
46 PASS lastEvent.changedTouches.length is 1 | 42 PASS lastEvent.changedTouches.length is 1 |
47 PASS lastEvent.targetTouches.length is 0 | 43 PASS lastEvent.targetTouches.length is 0 |
48 PASS lastEvent.pageX is 0 | |
49 PASS lastEvent.pageY is 0 | |
50 PASS lastEvent.changedTouches[0].pageX is 50 | 44 PASS lastEvent.changedTouches[0].pageX is 50 |
51 PASS lastEvent.changedTouches[0].pageY is 50 | 45 PASS lastEvent.changedTouches[0].pageY is 50 |
52 PASS lastEvent.changedTouches[0].clientX is 50 | 46 PASS lastEvent.changedTouches[0].clientX is 50 |
53 PASS lastEvent.changedTouches[0].clientY is 50 | 47 PASS lastEvent.changedTouches[0].clientY is 50 |
54 PASS lastEvent.changedTouches[0].identifier is 0 | 48 PASS lastEvent.changedTouches[0].identifier is 0 |
55 PASS lastEvent.shiftKey is false | 49 PASS lastEvent.shiftKey is false |
56 PASS lastEvent.altKey is false | 50 PASS lastEvent.altKey is false |
57 PASS lastEvent.type is "touchstart" | 51 PASS lastEvent.type is "touchstart" |
58 PASS lastEvent.touches.length is 1 | 52 PASS lastEvent.touches.length is 1 |
59 PASS lastEvent.changedTouches.length is 1 | 53 PASS lastEvent.changedTouches.length is 1 |
60 PASS lastEvent.targetTouches.length is 1 | 54 PASS lastEvent.targetTouches.length is 1 |
61 PASS lastEvent.pageX is 0 | |
62 PASS lastEvent.pageY is 0 | |
63 PASS lastEvent.targetTouches[0].target.tagName is "DIV" | 55 PASS lastEvent.targetTouches[0].target.tagName is "DIV" |
64 PASS lastEvent.type is "touchmove" | 56 PASS lastEvent.type is "touchmove" |
65 PASS lastEvent.touches.length is 1 | 57 PASS lastEvent.touches.length is 1 |
66 PASS lastEvent.changedTouches.length is 1 | 58 PASS lastEvent.changedTouches.length is 1 |
67 PASS lastEvent.targetTouches.length is 1 | 59 PASS lastEvent.targetTouches.length is 1 |
68 PASS lastEvent.pageX is 0 | |
69 PASS lastEvent.pageY is 0 | |
70 PASS lastEvent.touches[0].target.tagName is "DIV" | 60 PASS lastEvent.touches[0].target.tagName is "DIV" |
71 PASS successfullyParsed is true | 61 PASS successfullyParsed is true |
72 | 62 |
73 TEST COMPLETE | 63 TEST COMPLETE |
74 PASS successfullyParsed is true | 64 PASS successfullyParsed is true |
75 | 65 |
76 TEST COMPLETE | 66 TEST COMPLETE |
77 | 67 |
OLD | NEW |