Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(30)

Side by Side Diff: LayoutTests/fast/events/touch/touch-fractional-coordinates-expected.txt

Issue 298133003: Expose fractional TouchEvent coordinates (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Merge with trunk Created 6 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
1 Tests non-integer TouchEvent co-ordinates and radii
2
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ".
4
5
6
7 PASS successfullyParsed is true
8
9 TEST COMPLETE
10 Testing simple fractional touch
11 PASS eventCount is 1
12 PASS lastEvent.type is "touchstart"
13 PASS lastEvent.changedTouches[0].screenX is within 0.00001 of 30.33
14 PASS lastEvent.changedTouches[0].screenY is within 0.00001 of 4.5
15 PASS lastEvent.changedTouches[0].clientX is within 0.00001 of 30.33
16 PASS lastEvent.changedTouches[0].clientY is within 0.00001 of 4.5
17 PASS lastEvent.changedTouches[0].pageX is within 0.00001 of 33.33
18 PASS lastEvent.changedTouches[0].pageY is within 0.00001 of 14.5
19 PASS lastEvent.changedTouches[0].webkitRadiusX is within 0.00001 of 5.2
20 PASS lastEvent.changedTouches[0].webkitRadiusY is within 0.00001 of 6.3
21
22 Testing fractional touch inside simple iframe
23 PASS eventCount is 1
24 PASS lastEvent.type is "touchstart"
25 PASS lastEvent.changedTouches[0].screenX is within 0.00001 of 9.5
26 PASS lastEvent.changedTouches[0].screenY is within 0.00001 of 80.2
27 PASS lastEvent.changedTouches[0].clientX is within 0.00001 of 4.5
28 PASS lastEvent.changedTouches[0].clientY is within 0.00001 of 2.2
29 PASS lastEvent.changedTouches[0].pageX is within 0.00001 of 4.5
30 PASS lastEvent.changedTouches[0].pageY is within 0.00001 of 2.2
31
32 Testing fractional touch inside rotated iframe
33 PASS eventCount is 1
34 PASS lastEvent.type is "touchstart"
35 PASS lastEvent.changedTouches[0].screenX is within 0.00001 of 113.5
36 PASS lastEvent.changedTouches[0].screenY is within 0.00001 of 80.2
37 PASS lastEvent.changedTouches[0].clientX is within 0.00001 of 95.5
38 PASS lastEvent.changedTouches[0].clientY is within 0.00001 of 97.8
39 PASS lastEvent.changedTouches[0].pageX is within 0.00001 of 95.5
40 PASS lastEvent.changedTouches[0].pageY is within 0.00001 of 97.8
41
42 Testing fractional touch inside scaled iframe
43 PASS eventCount is 1
44 PASS lastEvent.type is "touchstart"
45 PASS lastEvent.changedTouches[0].screenX is within 0.00001 of 242.5
46 PASS lastEvent.changedTouches[0].screenY is within 0.00001 of 85.2
47 PASS lastEvent.changedTouches[0].clientX is within 0.00001 of 2.25
48 PASS lastEvent.changedTouches[0].clientY is within 0.00001 of 1.1
49 PASS lastEvent.changedTouches[0].pageX is within 0.00001 of 2.25
50 PASS lastEvent.changedTouches[0].pageY is within 0.00001 of 1.1
51
52
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698