| OLD | NEW |
| 1 This tests support for the document.createTouch API. | 1 This tests support for the document.createTouch API. |
| 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 "createTouch" in document is true | 6 PASS "createTouch" in document is true |
| 7 PASS touch is non-null. | 7 PASS touch is non-null. |
| 8 PASS touch.target is box | 8 PASS touch.target is box |
| 9 PASS touch.identifier is 1 | 9 PASS touch.identifier is 1 |
| 10 PASS touch.pageX is 100 | 10 PASS touch.pageX is 100 |
| 11 PASS touch.pageY is 101 | 11 PASS touch.pageY is 101 |
| 12 PASS touch.screenX is 102 | 12 PASS touch.screenX is 102 |
| 13 PASS touch.screenY is 103 | 13 PASS touch.screenY is 103 |
| 14 PASS touch.radiusX is 5 | 14 PASS touch.radiusX is 5 |
| 15 PASS touch.radiusY is 3 | 15 PASS touch.radiusY is 3 |
| 16 PASS touch.force is 10 | 16 PASS touch.force is 10 |
| 17 PASS touch.webkitRadiusX is 5 | 17 PASS touch.webkitRadiusX is 5 |
| 18 PASS touch.webkitRadiusY is 3 | 18 PASS touch.webkitRadiusY is 3 |
| 19 PASS touch.webkitRotationAngle is 10 | 19 PASS touch.webkitRotationAngle is 10 |
| 20 PASS touch.webkitForce is 10 | 20 PASS touch.webkitForce is 10 |
| 21 PASS touch.tilt 45 |
| 22 PASS touch.tiltDirection 60 |
| 21 PASS emptyTouch is non-null. | 23 PASS emptyTouch is non-null. |
| 22 PASS emptyTouch.target is null | 24 PASS emptyTouch.target is null |
| 23 PASS emptyTouch.identifier is 0 | 25 PASS emptyTouch.identifier is 0 |
| 24 PASS emptyTouch.pageX is 0 | 26 PASS emptyTouch.pageX is 0 |
| 25 PASS emptyTouch.pageY is 0 | 27 PASS emptyTouch.pageY is 0 |
| 26 PASS emptyTouch.screenX is 0 | 28 PASS emptyTouch.screenX is 0 |
| 27 PASS emptyTouch.screenY is 0 | 29 PASS emptyTouch.screenY is 0 |
| 28 PASS emptyTouch.radiusX is 0 | 30 PASS emptyTouch.radiusX is 0 |
| 29 PASS emptyTouch.radiusY is 0 | 31 PASS emptyTouch.radiusY is 0 |
| 30 FAIL emptyTouch.force should be NaN. Was 0. | 32 FAIL emptyTouch.force should be NaN. Was 0. |
| 31 PASS emptyTouch.webkitRadiusX is 0 | 33 PASS emptyTouch.webkitRadiusX is 0 |
| 32 PASS emptyTouch.webkitRadiusY is 0 | 34 PASS emptyTouch.webkitRadiusY is 0 |
| 33 FAIL emptyTouch.webkitRotationAngle should be NaN. Was 0. | 35 FAIL emptyTouch.webkitRotationAngle should be NaN. Was 0. |
| 34 FAIL emptyTouch.webkitForce should be NaN. Was 0. | 36 FAIL emptyTouch.webkitForce should be NaN. Was 0. |
| 37 FAIL emptyTouch.tilt should be NaN. Was 0. |
| 38 FAIL emptyTouch.tiltDirection should be NaN. Was 0. |
| 35 PASS badParamsTouch is non-null. | 39 PASS badParamsTouch is non-null. |
| 36 PASS badParamsTouch.target is null | 40 PASS badParamsTouch.target is null |
| 37 PASS badParamsTouch.identifier is 0 | 41 PASS badParamsTouch.identifier is 0 |
| 38 PASS badParamsTouch.pageX is 0 | 42 PASS badParamsTouch.pageX is 0 |
| 39 PASS badParamsTouch.pageY is 0 | 43 PASS badParamsTouch.pageY is 0 |
| 40 PASS badParamsTouch.screenX is 0 | 44 PASS badParamsTouch.screenX is 0 |
| 41 PASS badParamsTouch.screenY is 104 | 45 PASS badParamsTouch.screenY is 104 |
| 42 PASS badParamsTouch.radiusX is 0 | 46 PASS badParamsTouch.radiusX is 0 |
| 43 PASS badParamsTouch.radiusY is 0 | 47 PASS badParamsTouch.radiusY is 0 |
| 44 FAIL badParamsTouch.force should be NaN. Was 0. | 48 FAIL badParamsTouch.force should be NaN. Was 0. |
| 45 PASS badParamsTouch.webkitRadiusX is 0 | 49 PASS badParamsTouch.webkitRadiusX is 0 |
| 46 PASS badParamsTouch.webkitRadiusY is 0 | 50 PASS badParamsTouch.webkitRadiusY is 0 |
| 47 FAIL badParamsTouch.webkitRotationAngle should be NaN. Was 0. | 51 FAIL badParamsTouch.webkitRotationAngle should be NaN. Was 0. |
| 48 FAIL badParamsTouch.webkitForce should be NaN. Was 0. | 52 FAIL badParamsTouch.webkitForce should be NaN. Was 0. |
| 53 FAIL badParamsTouch.tilt should be NaN. Was 0. |
| 54 FAIL badParamsTouch.tiltDirection should be NaN. Was 0. |
| 49 PASS detachedTouch = document.implementation.createDocument('a', 'b').createTouc
h() is non-null. | 55 PASS detachedTouch = document.implementation.createDocument('a', 'b').createTouc
h() is non-null. |
| 50 PASS detachedTouch.target is null | 56 PASS detachedTouch.target is null |
| 51 PASS detachedTouch.identifier is 0 | 57 PASS detachedTouch.identifier is 0 |
| 52 PASS detachedTouch.pageX is 0 | 58 PASS detachedTouch.pageX is 0 |
| 53 PASS detachedTouch.pageY is 0 | 59 PASS detachedTouch.pageY is 0 |
| 54 PASS detachedTouch.screenX is 0 | 60 PASS detachedTouch.screenX is 0 |
| 55 PASS detachedTouch.screenY is 0 | 61 PASS detachedTouch.screenY is 0 |
| 56 PASS detachedTouch.radiusX is 0 | 62 PASS detachedTouch.radiusX is 0 |
| 57 PASS detachedTouch.radiusY is 0 | 63 PASS detachedTouch.radiusY is 0 |
| 58 FAIL detachedTouch.force should be NaN. Was 0. | 64 FAIL detachedTouch.force should be NaN. Was 0. |
| 59 PASS detachedTouch.webkitRadiusX is 0 | 65 PASS detachedTouch.webkitRadiusX is 0 |
| 60 PASS detachedTouch.webkitRadiusY is 0 | 66 PASS detachedTouch.webkitRadiusY is 0 |
| 61 FAIL detachedTouch.webkitRotationAngle should be NaN. Was 0. | 67 FAIL detachedTouch.webkitRotationAngle should be NaN. Was 0. |
| 62 FAIL detachedTouch.webkitForce should be NaN. Was 0. | 68 FAIL detachedTouch.webkitForce should be NaN. Was 0. |
| 69 FAIL detachedTouch.tilt should be NaN. Was 0. |
| 70 FAIL detachedTouch.tiltDirection should be NaN. Was 0. |
| 63 PASS successfullyParsed is true | 71 PASS successfullyParsed is true |
| 64 | 72 |
| 65 TEST COMPLETE | 73 TEST COMPLETE |
| 66 PASS successfullyParsed is true | 74 PASS successfullyParsed is true |
| 67 | 75 |
| 68 TEST COMPLETE | 76 TEST COMPLETE |
| 69 | 77 |
| OLD | NEW |