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