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

Unified Diff: LayoutTests/fast/events/touch/touch-coords-in-zoom-and-scroll-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
Index: LayoutTests/fast/events/touch/touch-coords-in-zoom-and-scroll-expected.txt
diff --git a/LayoutTests/fast/events/touch/touch-coords-in-zoom-and-scroll-expected.txt b/LayoutTests/fast/events/touch/touch-coords-in-zoom-and-scroll-expected.txt
index 00da644337938e089004c71263b24b04933d9ad8..1e33f28bd20c75fb34a6be1452860780c54bab15 100644
--- a/LayoutTests/fast/events/touch/touch-coords-in-zoom-and-scroll-expected.txt
+++ b/LayoutTests/fast/events/touch/touch-coords-in-zoom-and-scroll-expected.txt
@@ -5,10 +5,10 @@ PASS event.touches[0].pageX is 100
PASS event.touches[0].pageY is 100
Just zoomed
-PASS event.touches[0].clientX is 83
-PASS event.touches[0].clientY is 83
-PASS event.touches[0].pageX is 83
-PASS event.touches[0].pageY is 83
+PASS event.touches[0].clientX is within 0.00001 of 83.33333
+PASS event.touches[0].clientY is within 0.00001 of 83.33333
+PASS event.touches[0].pageX is within 0.00001 of 83.33333
+PASS event.touches[0].pageY is within 0.00001 of 83.33333
Just scrolled
PASS event.touches[0].clientX is 100
@@ -17,10 +17,10 @@ PASS event.touches[0].pageX is 150
PASS event.touches[0].pageY is 150
Zoomed and scrolled
-PASS event.touches[0].clientX is 84
-PASS event.touches[0].clientY is 84
-PASS event.touches[0].pageX is 133
-PASS event.touches[0].pageY is 133
+PASS event.touches[0].clientX is within 0.00001 of 83.33333
+PASS event.touches[0].clientY is within 0.00001 of 83.33333
+PASS event.touches[0].pageX is within 0.00001 of 133.33333
+PASS event.touches[0].pageY is within 0.00001 of 133.33333
PASS successfullyParsed is true
TEST COMPLETE

Powered by Google App Engine
This is Rietveld 408576698