touch-target-limited-expected.txt revision cad810f21b803229eb11403f9209855525a25d57
1Tests that the target of touches match the element where the event originated, not where the touch is currently occurring. This is a limited version of test touch-target.html that avoids the situation where one touch point is released while another is maintained.
2
3On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
4
5
6
7PASS event.type is "touchstart"
8PASS event.touches[0].target.id is "targetA"
9PASS event.touches[1].target.id is "targetB"
10PASS event.targetTouches.length is 1
11PASS event.type is "touchstart"
12PASS event.touches[0].target.id is "targetA"
13PASS event.touches[1].target.id is "targetB"
14PASS event.targetTouches.length is 1
15PASS event.type is "touchmove"
16PASS event.touches[0].target.id is "targetA"
17PASS event.touches[1].target.id is "targetB"
18PASS event.targetTouches.length is 1
19PASS event.type is "touchmove"
20PASS event.touches[0].target.id is "targetA"
21PASS event.touches[1].target.id is "targetB"
22PASS event.targetTouches.length is 1
23PASS event.type is "touchmove"
24PASS event.touches[0].target.id is "targetA"
25PASS event.touches[1].target.id is "targetB"
26PASS event.targetTouches.length is 1
27PASS event.type is "touchmove"
28PASS event.touches[0].target.id is "targetA"
29PASS event.touches[1].target.id is "targetB"
30PASS event.targetTouches.length is 1
31PASS event.type is "touchstart"
32PASS event.touches[0].target.id is "targetB"
33PASS event.touches[1].target.id is "targetA"
34PASS event.targetTouches.length is 1
35PASS event.type is "touchstart"
36PASS event.touches[0].target.id is "targetB"
37PASS event.touches[1].target.id is "targetA"
38PASS event.targetTouches.length is 1
39PASS event.type is "touchmove"
40PASS event.touches[0].target.id is "targetB"
41PASS event.touches[1].target.id is "targetA"
42PASS event.targetTouches.length is 1
43PASS event.type is "touchmove"
44PASS event.touches[0].target.id is "targetB"
45PASS event.touches[1].target.id is "targetA"
46PASS event.targetTouches.length is 1
47PASS successfullyParsed is true
48
49TEST COMPLETE
50
51