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

Unified Diff: LayoutTests/fast/events/touch/gesture/gesture-tap-frame-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-frame-scrolled-expected.txt
diff --git a/LayoutTests/fast/events/touch/gesture/gesture-tap-frame-scrolled-expected.txt b/LayoutTests/fast/events/touch/gesture/gesture-tap-frame-scrolled-expected.txt
index 87c3ce7f720a05f3f446fdbefe06b9ea1e815f82..f00b8c3d8f3487ce919c84540a1a2863f1ba88ac 100644
--- a/LayoutTests/fast/events/touch/gesture/gesture-tap-frame-scrolled-expected.txt
+++ b/LayoutTests/fast/events/touch/gesture/gesture-tap-frame-scrolled-expected.txt
@@ -4,29 +4,37 @@ Verifies that a tap occuring in a scrolled iframe has the correct co-ordinates
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
-Sending GestureTapDown to 25,19
+Sending GestureTapDown to 30,27
Sending GestureShowPress
Sending GestureTap
Received mousemove in child frame
-PASS event.screenX is point.x
-PASS event.screenY is point.y
-PASS event.clientX is 50 / 2
-PASS event.clientY is 50 / 2 + 7
+PASS event.screenX is pointInWindow.x
+PASS event.screenY is pointInWindow.y
+PASS event.clientX is pointInFrame.x
+PASS event.clientY is pointInFrame.y
+PASS event.pageX is pointInFrame.x + frameScrollOffset.x
+PASS event.pageY is pointInFrame.y + frameScrollOffset.y
Received mousedown in child frame
-PASS event.screenX is point.x
-PASS event.screenY is point.y
-PASS event.clientX is 50 / 2
-PASS event.clientY is 50 / 2 + 7
+PASS event.screenX is pointInWindow.x
+PASS event.screenY is pointInWindow.y
+PASS event.clientX is pointInFrame.x
+PASS event.clientY is pointInFrame.y
+PASS event.pageX is pointInFrame.x + frameScrollOffset.x
+PASS event.pageY is pointInFrame.y + frameScrollOffset.y
Received mouseup in child frame
-PASS event.screenX is point.x
-PASS event.screenY is point.y
-PASS event.clientX is 50 / 2
-PASS event.clientY is 50 / 2 + 7
+PASS event.screenX is pointInWindow.x
+PASS event.screenY is pointInWindow.y
+PASS event.clientX is pointInFrame.x
+PASS event.clientY is pointInFrame.y
+PASS event.pageX is pointInFrame.x + frameScrollOffset.x
+PASS event.pageY is pointInFrame.y + frameScrollOffset.y
Received click in child frame
-PASS event.screenX is point.x
-PASS event.screenY is point.y
-PASS event.clientX is 50 / 2
-PASS event.clientY is 50 / 2 + 7
+PASS event.screenX is pointInWindow.x
+PASS event.screenY is pointInWindow.y
+PASS event.clientX is pointInFrame.x
+PASS event.clientY is pointInFrame.y
+PASS event.pageX is pointInFrame.x + frameScrollOffset.x
+PASS event.pageY is pointInFrame.y + frameScrollOffset.y
PASS eventReceived.mousemove is true
PASS eventReceived.mousedown is true
PASS eventReceived.mouseup is true

Powered by Google App Engine
This is Rietveld 408576698