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.composed is true |
10 PASS lastEvent.shiftKey is false | 11 PASS lastEvent.shiftKey is false |
11 PASS lastEvent.touches[0].target.id is "touchtarget" | 12 PASS lastEvent.touches[0].target.id is "touchtarget" |
12 PASS lastEvent.touches[0].pageX is 10 | 13 PASS lastEvent.touches[0].pageX is 10 |
13 PASS lastEvent.touches[0].pageY is 10 | 14 PASS lastEvent.touches[0].pageY is 10 |
14 PASS lastEvent.touches[0].clientX is 10 | 15 PASS lastEvent.touches[0].clientX is 10 |
15 PASS lastEvent.touches[0].clientY is 10 | 16 PASS lastEvent.touches[0].clientY is 10 |
16 PASS lastEvent.touches[0].identifier is 0 | 17 PASS lastEvent.touches[0].identifier is 0 |
17 PASS lastEvent.changedTouches[0].pageX is 10 | 18 PASS lastEvent.changedTouches[0].pageX is 10 |
18 PASS lastEvent.changedTouches[0].pageY is 10 | 19 PASS lastEvent.changedTouches[0].pageY is 10 |
19 PASS lastEvent.changedTouches[0].clientX is 10 | 20 PASS lastEvent.changedTouches[0].clientX is 10 |
20 PASS lastEvent.changedTouches[0].clientY is 10 | 21 PASS lastEvent.changedTouches[0].clientY is 10 |
21 PASS lastEvent.changedTouches[0].identifier is 0 | 22 PASS lastEvent.changedTouches[0].identifier is 0 |
22 PASS lastEvent.targetTouches[0].pageX is 10 | 23 PASS lastEvent.targetTouches[0].pageX is 10 |
23 PASS lastEvent.targetTouches[0].pageY is 10 | 24 PASS lastEvent.targetTouches[0].pageY is 10 |
24 PASS lastEvent.targetTouches[0].clientX is 10 | 25 PASS lastEvent.targetTouches[0].clientX is 10 |
25 PASS lastEvent.targetTouches[0].clientY is 10 | 26 PASS lastEvent.targetTouches[0].clientY is 10 |
26 PASS lastEvent.targetTouches[0].identifier is 0 | 27 PASS lastEvent.targetTouches[0].identifier is 0 |
27 PASS lastEvent.type is "touchmove" | 28 PASS lastEvent.type is "touchmove" |
28 PASS lastEvent.touches.length is 1 | 29 PASS lastEvent.touches.length is 1 |
29 PASS lastEvent.changedTouches.length is 1 | 30 PASS lastEvent.changedTouches.length is 1 |
30 PASS lastEvent.targetTouches.length is 1 | 31 PASS lastEvent.targetTouches.length is 1 |
| 32 PASS lastEvent.composed is true |
31 PASS lastEvent.touches[0].pageX is 50 | 33 PASS lastEvent.touches[0].pageX is 50 |
32 PASS lastEvent.touches[0].pageY is 50 | 34 PASS lastEvent.touches[0].pageY is 50 |
33 PASS lastEvent.touches[0].clientX is 50 | 35 PASS lastEvent.touches[0].clientX is 50 |
34 PASS lastEvent.touches[0].clientY is 50 | 36 PASS lastEvent.touches[0].clientY is 50 |
35 PASS lastEvent.touches[0].identifier is 0 | 37 PASS lastEvent.touches[0].identifier is 0 |
36 PASS lastEvent.shiftKey is true | 38 PASS lastEvent.shiftKey is true |
37 PASS lastEvent.altKey is true | 39 PASS lastEvent.altKey is true |
38 PASS lastEvent.ctrlKey is false | 40 PASS lastEvent.ctrlKey is false |
39 PASS lastEvent.metaKey is false | 41 PASS lastEvent.metaKey is false |
40 PASS lastEvent.type is "touchend" | 42 PASS lastEvent.type is "touchend" |
41 PASS lastEvent.touches.length is 0 | 43 PASS lastEvent.touches.length is 0 |
42 PASS lastEvent.changedTouches.length is 1 | 44 PASS lastEvent.changedTouches.length is 1 |
43 PASS lastEvent.targetTouches.length is 0 | 45 PASS lastEvent.targetTouches.length is 0 |
| 46 PASS lastEvent.composed is true |
44 PASS lastEvent.changedTouches[0].pageX is 50 | 47 PASS lastEvent.changedTouches[0].pageX is 50 |
45 PASS lastEvent.changedTouches[0].pageY is 50 | 48 PASS lastEvent.changedTouches[0].pageY is 50 |
46 PASS lastEvent.changedTouches[0].clientX is 50 | 49 PASS lastEvent.changedTouches[0].clientX is 50 |
47 PASS lastEvent.changedTouches[0].clientY is 50 | 50 PASS lastEvent.changedTouches[0].clientY is 50 |
48 PASS lastEvent.changedTouches[0].identifier is 0 | 51 PASS lastEvent.changedTouches[0].identifier is 0 |
49 PASS lastEvent.shiftKey is false | 52 PASS lastEvent.shiftKey is false |
50 PASS lastEvent.altKey is false | 53 PASS lastEvent.altKey is false |
51 PASS lastEvent.type is "touchstart" | 54 PASS lastEvent.type is "touchstart" |
52 PASS lastEvent.touches.length is 1 | 55 PASS lastEvent.touches.length is 1 |
53 PASS lastEvent.changedTouches.length is 1 | 56 PASS lastEvent.changedTouches.length is 1 |
54 PASS lastEvent.targetTouches.length is 1 | 57 PASS lastEvent.targetTouches.length is 1 |
| 58 PASS lastEvent.composed is true |
55 PASS lastEvent.targetTouches[0].target.tagName is "DIV" | 59 PASS lastEvent.targetTouches[0].target.tagName is "DIV" |
56 PASS lastEvent.type is "touchmove" | 60 PASS lastEvent.type is "touchmove" |
57 PASS lastEvent.touches.length is 1 | 61 PASS lastEvent.touches.length is 1 |
58 PASS lastEvent.changedTouches.length is 1 | 62 PASS lastEvent.changedTouches.length is 1 |
59 PASS lastEvent.targetTouches.length is 1 | 63 PASS lastEvent.targetTouches.length is 1 |
| 64 PASS lastEvent.composed is true |
60 PASS lastEvent.touches[0].target.tagName is "DIV" | 65 PASS lastEvent.touches[0].target.tagName is "DIV" |
61 PASS successfullyParsed is true | 66 PASS successfullyParsed is true |
62 | 67 |
63 TEST COMPLETE | 68 TEST COMPLETE |
64 PASS successfullyParsed is true | 69 PASS successfullyParsed is true |
65 | 70 |
66 TEST COMPLETE | 71 TEST COMPLETE |
67 | 72 |
OLD | NEW |