| OLD | NEW |
| 1 | 1 |
| 2 Test multi-touch is sent to the same iframe. | 2 Test multi-touch is sent to the same iframe. |
| 3 | 3 |
| 4 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". | 4 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". |
| 5 | 5 |
| 6 | 6 |
| 7 PASS successfullyParsed is true | 7 PASS successfullyParsed is true |
| 8 | 8 |
| 9 TEST COMPLETE | 9 TEST COMPLETE |
| 10 First touch is on inner iframe. | 10 First touch is on inner iframe. |
| 11 PASS ev.type is "touchstart" | 11 PASS ev.type is "touchstart" |
| 12 PASS touchreceiver is "iframe1" | 12 PASS touchreceiver is "iframe1" |
| 13 PASS ev.changedTouches.length is 1 | 13 PASS ev.changedTouches.length is 1 |
| 14 PASS ev.touches.length is 1 | 14 PASS ev.touches.length is 1 |
| 15 PASS ev.targetTouches.length is 1 | 15 PASS ev.targetTouches.length is 1 |
| 16 PASS ev.touches[0].pageX is 50 | 16 PASS ev.touches[0].pageX is 50 |
| 17 PASS ev.touches[0].pageY is 50 | 17 PASS ev.touches[0].pageY is 50 |
| 18 PASS ev.touches[0].target.ownerDocument.title is "iframe1" | 18 PASS ev.touches[0].target.ownerDocument.title is "iframe1" |
| 19 PASS ev.changedTouches[0].target.ownerDocument.title is "iframe1" | 19 PASS ev.changedTouches[0].target.ownerDocument.title is "iframe1" |
| 20 PASS ev.targetTouches[0].target.ownerDocument.title is "iframe1" | 20 PASS ev.targetTouches[0].target.ownerDocument.title is "iframe1" |
| 21 | 21 |
| 22 Second touch is on outer iframe, nothing should happen. | 22 Second touch is on outer iframe, nothing should happen. |
| 23 | 23 |
| 24 Moves the first touch outside inner iframe. | 24 Moves the first touch outside inner iframe. |
| 25 PASS ev.type is "touchmove" | 25 PASS ev.type is "touchmove" |
| 26 PASS touchreceiver is "iframe1" | 26 PASS touchreceiver is "iframe1" |
| 27 PASS ev.changedTouches.length is 1 | 27 PASS ev.changedTouches.length is 1 |
| 28 PASS ev.touches.length is 1 | 28 PASS ev.touches.length is 2 |
| 29 PASS ev.targetTouches.length is 1 | 29 PASS ev.targetTouches.length is 1 |
| 30 PASS ev.touches[0].pageX is 200 | 30 PASS ev.touches[0].pageX is 200 |
| 31 PASS ev.touches[0].pageY is 200 | 31 PASS ev.touches[0].pageY is 200 |
| 32 PASS ev.touches[0].target.ownerDocument.title is "iframe1" | 32 PASS ev.touches[0].target.ownerDocument.title is "iframe1" |
| 33 PASS ev.changedTouches[0].target.ownerDocument.title is "iframe1" | 33 PASS ev.changedTouches[0].target.ownerDocument.title is "iframe1" |
| 34 PASS ev.targetTouches[0].target.ownerDocument.title is "iframe1" | 34 PASS ev.targetTouches[0].target.ownerDocument.title is "iframe1" |
| 35 PASS ev.touches[1].target.nodeName is "#document" |
| 36 PASS ev.touches[1].target.title is "iframe1" |
| 35 | 37 |
| 36 Release the first touch. | 38 Release the first touch. |
| 37 PASS ev.type is "touchend" | 39 PASS ev.type is "touchend" |
| 38 PASS touchreceiver is "iframe1" | 40 PASS touchreceiver is "iframe1" |
| 39 PASS ev.changedTouches.length is 1 | 41 PASS ev.changedTouches.length is 1 |
| 40 PASS ev.touches.length is 0 | 42 PASS ev.touches.length is 1 |
| 41 PASS ev.targetTouches.length is 0 | 43 PASS ev.targetTouches.length is 0 |
| 44 PASS ev.changedTouches[0].identifier is 0 |
| 42 PASS ev.changedTouches[0].target.ownerDocument.title is "iframe1" | 45 PASS ev.changedTouches[0].target.ownerDocument.title is "iframe1" |
| 46 PASS ev.touches[0].identifier is 1 |
| 47 PASS ev.touches[0].target.nodeName is "#document" |
| 48 PASS ev.touches[0].target.title is "iframe1" |
| 43 | 49 |
| 44 Third touch is on outer iframe, nothing should happen. | 50 Third touch is on outer iframe, nothing should happen. |
| 45 | 51 |
| 46 Release all touches on outer iframe, and touch outer iframe again. | 52 Release all touches on outer iframe, and touch outer iframe again. |
| 47 PASS ev.type is "touchstart" | 53 PASS ev.type is "touchstart" |
| 48 PASS touchreceiver is "iframe2" | 54 PASS touchreceiver is "iframe2" |
| 49 PASS ev.changedTouches.length is 1 | 55 PASS ev.changedTouches.length is 1 |
| 50 PASS ev.touches.length is 1 | 56 PASS ev.touches.length is 1 |
| 51 PASS ev.targetTouches.length is 1 | 57 PASS ev.targetTouches.length is 1 |
| 52 PASS ev.touches[0].pageX is 30 | 58 PASS ev.touches[0].pageX is 30 |
| (...skipping 19 matching lines...) Expand all Loading... |
| 72 PASS touchreceiver is "iframe2" | 78 PASS touchreceiver is "iframe2" |
| 73 PASS ev.changedTouches.length is 2 | 79 PASS ev.changedTouches.length is 2 |
| 74 PASS ev.touches.length is 0 | 80 PASS ev.touches.length is 0 |
| 75 PASS ev.targetTouches.length is 0 | 81 PASS ev.targetTouches.length is 0 |
| 76 PASS ev.changedTouches[0].target.ownerDocument.title is "iframe2" | 82 PASS ev.changedTouches[0].target.ownerDocument.title is "iframe2" |
| 77 PASS ev.changedTouches[1].target.ownerDocument.title is "iframe2" | 83 PASS ev.changedTouches[1].target.ownerDocument.title is "iframe2" |
| 78 PASS successfullyParsed is true | 84 PASS successfullyParsed is true |
| 79 | 85 |
| 80 TEST COMPLETE | 86 TEST COMPLETE |
| 81 | 87 |
| OLD | NEW |