| OLD | NEW |
| 1 <!DOCTYPE HTML> | 1 <!DOCTYPE HTML> |
| 2 <html> | 2 <html> |
| 3 <head> | 3 <head> |
| 4 <title>document.createTouch and document.createTouchList Tests</title> | 4 <title>document.createTouch and document.createTouchList Tests</title> |
| 5 <script src="../../../resources/testharness.js"></script> | 5 <script src="../../../resources/testharness.js"></script> |
| 6 <script src="../../../resources/testharnessreport.js"></script> | 6 <script src="../../../resources/testharnessreport.js"></script> |
| 7 <script src="touch-support.js"></script> | 7 <script src="touch-support.js"></script> |
| 8 <body> | 8 <body> |
| 9 <div id="target0"></div> | 9 <div id="target0"></div> |
| 10 <script> | 10 <script> |
| (...skipping 30 matching lines...) Expand all Loading... |
| 41 var touchList = document.createTouchList(touch1, touch2); | 41 var touchList = document.createTouchList(touch1, touch2); |
| 42 assert_equals(touchList.length, 2, "touchList.length is 2"); | 42 assert_equals(touchList.length, 2, "touchList.length is 2"); |
| 43 assert_equals(touchList.item(0), touch1, "touchList.item(0) is touch1"); | 43 assert_equals(touchList.item(0), touch1, "touchList.item(0) is touch1"); |
| 44 assert_equals(touchList.item(1), touch2, "touchList.item(1) is touch2"); | 44 assert_equals(touchList.item(1), touch2, "touchList.item(1) is touch2"); |
| 45 check_TouchList_object(touchList); | 45 check_TouchList_object(touchList); |
| 46 }, "document.createTouchList exists and correctly creates a TouchList from two T
ouch objects"); | 46 }, "document.createTouchList exists and correctly creates a TouchList from two T
ouch objects"); |
| 47 </script> | 47 </script> |
| 48 </head> | 48 </head> |
| 49 </body> | 49 </body> |
| 50 </html> | 50 </html> |
| OLD | NEW |