| OLD | NEW |
| 1 <!DOCTYPE HTML> | 1 <!DOCTYPE HTML> |
| 2 <html> | 2 <html> |
| 3 <head> | 3 <head> |
| 4 <title>Touch and TouchEvent Constructor Tests</title> | 4 <title>Touch and TouchEvent Constructor 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 </head> | 8 </head> |
| 9 <body> | 9 <body> |
| 10 <div id="target0"></div> | 10 <div id="target0"></div> |
| (...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 107 assert_equals(touchEvent1.targetTouches[0], touch1, "touchEvent.targetTouche
s[0] is requested value"); | 107 assert_equals(touchEvent1.targetTouches[0], touch1, "touchEvent.targetTouche
s[0] is requested value"); |
| 108 assert_equals(touchEvent1.changedTouches.length, 0, "touchEvent.changedTouch
es.length is requested value"); | 108 assert_equals(touchEvent1.changedTouches.length, 0, "touchEvent.changedTouch
es.length is requested value"); |
| 109 assert_equals(touchEvent1.altKey, true, "touchEvent.altKey is requested valu
e"); | 109 assert_equals(touchEvent1.altKey, true, "touchEvent.altKey is requested valu
e"); |
| 110 assert_equals(touchEvent1.metaKey, false, "touchEvent.metaKey is requested v
alue"); | 110 assert_equals(touchEvent1.metaKey, false, "touchEvent.metaKey is requested v
alue"); |
| 111 assert_equals(touchEvent1.ctrlKey, false, "touchEvent.ctrlKey is requested v
alue"); | 111 assert_equals(touchEvent1.ctrlKey, false, "touchEvent.ctrlKey is requested v
alue"); |
| 112 assert_equals(touchEvent1.shiftKey, false, "touchEvent.shiftKey is requested
value."); | 112 assert_equals(touchEvent1.shiftKey, false, "touchEvent.shiftKey is requested
value."); |
| 113 }, "TouchEvent constructor exists and creates a TouchEvent object with requested
properties"); | 113 }, "TouchEvent constructor exists and creates a TouchEvent object with requested
properties"); |
| 114 </script> | 114 </script> |
| 115 </body> | 115 </body> |
| 116 </html> | 116 </html> |
| OLD | NEW |