blob: 45e53af0ee97c0e29826002701083c21d50ce989 [file] [log] [blame]
Sangwhan Moon70f1aa22014-04-08 11:10:471<!DOCTYPE HTML>
2<html>
3<!--
Philip Jägenstedtd3603102017-11-28 14:02:064 Test cases for Touch Events v1 Recommendation
Sangwhan Moon70f1aa22014-04-08 11:10:475 http://www.w3.org/TR/touch-events/
6
James Grahamcb5041f2014-04-24 15:24:267 These tests are based on Mozilla-Nokia-Google's single-touch
8 tests and to some extent Olli Pettay's multi-touch tests.
Sangwhan Moon70f1aa22014-04-08 11:10:479
James Grahamcb5041f2014-04-24 15:24:2610 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 Moon70f1aa22014-04-08 11:10:4712
James Grahamcb5041f2014-04-24 15:24:2613 This document references Test Assertions (abbrev TA below) written by Cathy Chan
14 http://www.w3.org/2010/webevents/wiki/TestAssertions
Sangwhan Moon70f1aa22014-04-08 11:10:4715-->
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ägenstedtd3603102017-11-28 14:02:0624 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 Moon70f1aa22014-04-08 11:10:4736</style>
37</head>
38<body onload="run()">
Philip Jägenstedtd3603102017-11-28 14:02:0639 <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 Moon70f1aa22014-04-08 11:10:4748</body>
49</html>