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

Unified Diff: LayoutTests/fast/events/touch/gesture/gesture-tap-scrolled-expected.txt

Issue 641063003: Pass correct client coordinates for mouse events synthesized from a GestureTap (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Address comments Created 6 years, 2 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/gesture/gesture-tap-scrolled-expected.txt
diff --git a/LayoutTests/fast/events/touch/gesture/gesture-tap-scrolled-expected.txt b/LayoutTests/fast/events/touch/gesture/gesture-tap-scrolled-expected.txt
new file mode 100644
index 0000000000000000000000000000000000000000..cba4df22ab01051f53649b8a0b0d65b7921b32e3
--- /dev/null
+++ b/LayoutTests/fast/events/touch/gesture/gesture-tap-scrolled-expected.txt
@@ -0,0 +1,44 @@
+Verifies that a tap occuring in a scrolled page has the correct co-ordinates
+
+On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
+
+
+Sending GestureTapDown to 50,50
+Sending GestureShowPress
+Sending GestureTap
+Received mousemove in page
+PASS event.screenX is point.x
+PASS event.screenY is point.y
+PASS event.clientX is point.x
+PASS event.clientY is point.y
+PASS event.pageX is point.x + scrollOffset.x
+PASS event.pageY is point.y + scrollOffset.y
+Received mousedown in page
+PASS event.screenX is point.x
+PASS event.screenY is point.y
+PASS event.clientX is point.x
+PASS event.clientY is point.y
+PASS event.pageX is point.x + scrollOffset.x
+PASS event.pageY is point.y + scrollOffset.y
+Received mouseup in page
+PASS event.screenX is point.x
+PASS event.screenY is point.y
+PASS event.clientX is point.x
+PASS event.clientY is point.y
+PASS event.pageX is point.x + scrollOffset.x
+PASS event.pageY is point.y + scrollOffset.y
+Received click in page
+PASS event.screenX is point.x
+PASS event.screenY is point.y
+PASS event.clientX is point.x
+PASS event.clientY is point.y
+PASS event.pageX is point.x + scrollOffset.x
+PASS event.pageY is point.y + scrollOffset.y
+PASS eventReceived.mousemove is true
+PASS eventReceived.mousedown is true
+PASS eventReceived.mouseup is true
+PASS eventReceived.click is true
+PASS successfullyParsed is true
+
+TEST COMPLETE
+

Powered by Google App Engine
This is Rietveld 408576698