summaryrefslogtreecommitdiffstats
path: root/LayoutTests/fast/events/touch/touch-target-expected.txt
blob: b1c865dee976a2c97bf894eeeb373bd3c36959a0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
Tests that the target of touches match the element where the event originated, not where the touch is currently occurring.

On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".



PASS event.type is "touchstart"
PASS event.touches[0].target.id is "targetA"
PASS event.touches[1].target.id is "targetB"
PASS event.targetTouches.length is 1
PASS event.type is "touchstart"
PASS event.touches[0].target.id is "targetA"
PASS event.touches[1].target.id is "targetB"
PASS event.targetTouches.length is 1
PASS event.type is "touchmove"
PASS event.touches[0].target.id is "targetA"
PASS event.touches[1].target.id is "targetB"
PASS event.targetTouches.length is 1
PASS event.type is "touchmove"
PASS event.touches[0].target.id is "targetA"
PASS event.touches[1].target.id is "targetB"
PASS event.targetTouches.length is 1
PASS event.type is "touchmove"
PASS event.touches[0].target.id is "targetA"
PASS event.touches[1].target.id is "targetB"
PASS event.targetTouches.length is 1
PASS event.type is "touchmove"
PASS event.touches[0].target.id is "targetA"
PASS event.touches[1].target.id is "targetB"
PASS event.targetTouches.length is 1
PASS event.type is "touchstart"
PASS event.touches[0].target.id is "targetB"
PASS event.touches[1].target.id is "targetA"
PASS event.targetTouches.length is 1
PASS event.type is "touchmove"
PASS event.touches[0].target.id is "targetB"
PASS event.touches[1].target.id is "targetA"
PASS event.targetTouches.length is 1
PASS event.type is "touchmove"
PASS event.touches[0].target.id is "targetB"
PASS event.touches[1].target.id is "targetA"
PASS event.targetTouches.length is 1
PASS successfullyParsed is true

TEST COMPLETE