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

Unified 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: Make layout test output stable across platforms 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « LayoutTests/fast/events/touch/touch-fractional-coordinates.html ('k') | Source/core/dom/Document.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/fast/events/touch/touch-fractional-coordinates-expected.txt
diff --git a/LayoutTests/fast/events/touch/touch-fractional-coordinates-expected.txt b/LayoutTests/fast/events/touch/touch-fractional-coordinates-expected.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c7ed219e9878cb88b81b8c79d2545e5ab278556d
--- /dev/null
+++ b/LayoutTests/fast/events/touch/touch-fractional-coordinates-expected.txt
@@ -0,0 +1,52 @@
+Tests non-integer TouchEvent co-ordinates and radii
+
+On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
+
+
+
+PASS successfullyParsed is true
+
+TEST COMPLETE
+Testing simple fractional touch
+PASS eventCount is 1
+PASS lastEvent.type is "touchstart"
+PASS lastEvent.changedTouches[0].screenX is within 0.00001 of 30.33
+PASS lastEvent.changedTouches[0].screenY is within 0.00001 of 4.5
+PASS lastEvent.changedTouches[0].clientX is within 0.00001 of 30.33
+PASS lastEvent.changedTouches[0].clientY is within 0.00001 of 4.5
+PASS lastEvent.changedTouches[0].pageX is within 0.00001 of 33.33
+PASS lastEvent.changedTouches[0].pageY is within 0.00001 of 14.5
+PASS lastEvent.changedTouches[0].webkitRadiusX is within 0.00001 of 5.2
+PASS lastEvent.changedTouches[0].webkitRadiusY is within 0.00001 of 6.3
+
+Testing fractional touch inside simple iframe
+PASS eventCount is 1
+PASS lastEvent.type is "touchstart"
+PASS lastEvent.changedTouches[0].screenX is within 0.00001 of 11.5
+PASS lastEvent.changedTouches[0].screenY is within 0.00001 of 92.2
+PASS lastEvent.changedTouches[0].clientX is within 0.00001 of 4.5
+PASS lastEvent.changedTouches[0].clientY is within 0.00001 of 2.2
+PASS lastEvent.changedTouches[0].pageX is within 0.00001 of 4.5
+PASS lastEvent.changedTouches[0].pageY is within 0.00001 of 2.2
+
+Testing fractional touch inside rotated iframe
+PASS eventCount is 1
+PASS lastEvent.type is "touchstart"
+PASS lastEvent.changedTouches[0].screenX is within 0.00001 of 115.5
+PASS lastEvent.changedTouches[0].screenY is within 0.00001 of 92.2
+PASS lastEvent.changedTouches[0].clientX is within 0.00001 of 95.5
+PASS lastEvent.changedTouches[0].clientY is within 0.00001 of 97.8
+PASS lastEvent.changedTouches[0].pageX is within 0.00001 of 95.5
+PASS lastEvent.changedTouches[0].pageY is within 0.00001 of 97.8
+
+Testing fractional touch inside scaled iframe
+PASS eventCount is 1
+PASS lastEvent.type is "touchstart"
+PASS lastEvent.changedTouches[0].screenX is within 0.00001 of 244.5
+PASS lastEvent.changedTouches[0].screenY is within 0.00001 of 97.2
+PASS lastEvent.changedTouches[0].clientX is within 0.00001 of 2.25
+PASS lastEvent.changedTouches[0].clientY is within 0.00001 of 1.1
+PASS lastEvent.changedTouches[0].pageX is within 0.00001 of 2.25
+PASS lastEvent.changedTouches[0].pageY is within 0.00001 of 1.1
+
+
« no previous file with comments | « LayoutTests/fast/events/touch/touch-fractional-coordinates.html ('k') | Source/core/dom/Document.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698