| Sangwhan Moon | 70f1aa2 | 2014-04-08 11:10:47 | [diff] [blame] | 1 | <!DOCTYPE HTML> |
| 2 | <html> |
| 3 | <!-- |
| Philip Jägenstedt | d360310 | 2017-11-28 14:02:06 | [diff] [blame] | 4 | Test cases for Touch Events v1 Recommendation |
| Sangwhan Moon | 70f1aa2 | 2014-04-08 11:10:47 | [diff] [blame] | 5 | http://www.w3.org/TR/touch-events/ |
| 6 | |
| James Graham | cb5041f | 2014-04-24 15:24:26 | [diff] [blame] | 7 | These tests are based on Mozilla-Nokia-Google's single-touch |
| 8 | tests and to some extent Olli Pettay's multi-touch tests. |
| Sangwhan Moon | 70f1aa2 | 2014-04-08 11:10:47 | [diff] [blame] | 9 | |
| James Graham | cb5041f | 2014-04-24 15:24:26 | [diff] [blame] | 10 | The primary purpose of the tests in this document is checking that the interactions |
| 11 | of various Touch events are correctly implemented under any touch patterns. |
| Sangwhan Moon | 70f1aa2 | 2014-04-08 11:10:47 | [diff] [blame] | 12 | |
| James Graham | cb5041f | 2014-04-24 15:24:26 | [diff] [blame] | 13 | This document references Test Assertions (abbrev TA below) written by Cathy Chan |
| 14 | http://www.w3.org/2010/webevents/wiki/TestAssertions |
| Sangwhan Moon | 70f1aa2 | 2014-04-08 11:10:47 | [diff] [blame] | 15 | --> |
| 16 | |
| 17 | <head> |
| 18 | <title>Touch Events Multi-Touch Interaction Test</title> |
| 19 | <meta name="viewport" content="width=device-width"> |
| 20 | <script src="/resources/testharness.js"></script> |
| 21 | <script src="/resources/testharnessreport.js"></script> |
| 22 | <script src="multi-touch-interactions.js"></script> |
| 23 | <style> |
| Philip Jägenstedt | d360310 | 2017-11-28 14:02:06 | [diff] [blame] | 24 | div { |
| 25 | margin: 0em; |
| 26 | padding: 1.5em; |
| 27 | } |
| 28 | #target0 { |
| 29 | background: yellow; |
| 30 | border: 1px solid orange; |
| 31 | } |
| 32 | #target1 { |
| 33 | background: lightblue; |
| 34 | border: 1px solid blue; |
| 35 | } |
| Sangwhan Moon | 70f1aa2 | 2014-04-08 11:10:47 | [diff] [blame] | 36 | </style> |
| 37 | </head> |
| 38 | <body onload="run()"> |
| Philip Jägenstedt | d360310 | 2017-11-28 14:02:06 | [diff] [blame] | 39 | <h1>Touch Events: Multi-Touch Interaction Test</h1> |
| 40 | <div id="target0"> |
| 41 | Touch this box with one finger, then another one... |
| 42 | </div> |
| 43 | <div id="target1"> |
| 44 | ...then drag to this box, then touch with a third finger, and lift all your fingers. |
| 45 | </div> |
| 46 | <div id="debug"></div> |
| 47 | <div id="log"></div> |
| Sangwhan Moon | 70f1aa2 | 2014-04-08 11:10:47 | [diff] [blame] | 48 | </body> |
| 49 | </html> |