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 |
| 15 PASS touch.radiusY is 3 |
| 16 PASS touch.force is 10 |
14 PASS touch.webkitRadiusX is 5 | 17 PASS touch.webkitRadiusX is 5 |
15 PASS touch.webkitRadiusY is 3 | 18 PASS touch.webkitRadiusY is 3 |
16 PASS touch.webkitRotationAngle is 10 | 19 PASS touch.webkitRotationAngle is 10 |
17 PASS touch.webkitForce is 10 | 20 PASS touch.webkitForce is 10 |
18 PASS emptyTouch is non-null. | 21 PASS emptyTouch is non-null. |
19 PASS emptyTouch.target is null | 22 PASS emptyTouch.target is null |
20 PASS emptyTouch.identifier is 0 | 23 PASS emptyTouch.identifier is 0 |
21 PASS emptyTouch.pageX is 0 | 24 PASS emptyTouch.pageX is 0 |
22 PASS emptyTouch.pageY is 0 | 25 PASS emptyTouch.pageY is 0 |
23 PASS emptyTouch.screenX is 0 | 26 PASS emptyTouch.screenX is 0 |
24 PASS emptyTouch.screenY is 0 | 27 PASS emptyTouch.screenY is 0 |
| 28 PASS emptyTouch.radiusX is 0 |
| 29 PASS emptyTouch.radiusY is 0 |
| 30 FAIL emptyTouch.force should be NaN. Was 0. |
25 PASS emptyTouch.webkitRadiusX is 0 | 31 PASS emptyTouch.webkitRadiusX is 0 |
26 PASS emptyTouch.webkitRadiusY is 0 | 32 PASS emptyTouch.webkitRadiusY is 0 |
27 FAIL emptyTouch.webkitRotationAngle should be NaN. Was 0. | 33 FAIL emptyTouch.webkitRotationAngle should be NaN. Was 0. |
28 FAIL emptyTouch.webkitForce should be NaN. Was 0. | 34 FAIL emptyTouch.webkitForce should be NaN. Was 0. |
29 PASS badParamsTouch is non-null. | 35 PASS badParamsTouch is non-null. |
30 PASS badParamsTouch.target is null | 36 PASS badParamsTouch.target is null |
31 PASS badParamsTouch.identifier is 0 | 37 PASS badParamsTouch.identifier is 0 |
32 PASS badParamsTouch.pageX is 0 | 38 PASS badParamsTouch.pageX is 0 |
33 PASS badParamsTouch.pageY is 0 | 39 PASS badParamsTouch.pageY is 0 |
34 PASS badParamsTouch.screenX is 0 | 40 PASS badParamsTouch.screenX is 0 |
35 PASS badParamsTouch.screenY is 104 | 41 PASS badParamsTouch.screenY is 104 |
| 42 PASS badParamsTouch.radiusX is 0 |
| 43 PASS badParamsTouch.radiusY is 0 |
| 44 FAIL badParamsTouch.force should be NaN. Was 0. |
36 PASS badParamsTouch.webkitRadiusX is 0 | 45 PASS badParamsTouch.webkitRadiusX is 0 |
37 PASS badParamsTouch.webkitRadiusY is 0 | 46 PASS badParamsTouch.webkitRadiusY is 0 |
38 FAIL badParamsTouch.webkitRotationAngle should be NaN. Was 0. | 47 FAIL badParamsTouch.webkitRotationAngle should be NaN. Was 0. |
39 FAIL badParamsTouch.webkitForce should be NaN. Was 0. | 48 FAIL badParamsTouch.webkitForce should be NaN. Was 0. |
40 PASS successfullyParsed is true | 49 PASS successfullyParsed is true |
41 | 50 |
42 TEST COMPLETE | 51 TEST COMPLETE |
43 PASS successfullyParsed is true | 52 PASS successfullyParsed is true |
44 | 53 |
45 TEST COMPLETE | 54 TEST COMPLETE |
46 | 55 |
OLD | NEW |