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

Unified Diff: third_party/WebKit/LayoutTests/virtual/pointerevent/fast/events/pointerevents/pointer-event-properties-in-iframe-expected.txt

Issue 1964523002: Fix clientX/Y properties of touch pointer events (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix zoom problem Created 4 years, 7 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: third_party/WebKit/LayoutTests/virtual/pointerevent/fast/events/pointerevents/pointer-event-properties-in-iframe-expected.txt
diff --git a/third_party/WebKit/LayoutTests/virtual/pointerevent/fast/events/pointerevents/pointer-event-properties-in-iframe-expected.txt b/third_party/WebKit/LayoutTests/virtual/pointerevent/fast/events/pointerevents/pointer-event-properties-in-iframe-expected.txt
new file mode 100644
index 0000000000000000000000000000000000000000..6e4c56c2c74e26fa70588dfbadd25328e17d9b0d
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/virtual/pointerevent/fast/events/pointerevents/pointer-event-properties-in-iframe-expected.txt
@@ -0,0 +1,70 @@
+
+This test verifies clientX/Y of pointer events inside iframe.
+
+On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
+
+
+PASS successfullyParsed is true
+
+TEST COMPLETE
+===== scrollX=25, scrollY=100, zoomFactor=1
+pointerdown of touch is recieved:
+clientX = 150
+clientY = 100
+touchstart is recieved:
+clientX = 150
+clientY = 100
+pointermove of touch is recieved:
+clientX = 150
+clientY = 100
+touchmove is recieved:
+clientX = 150
+clientY = 100
+pointerup of touch is recieved:
+clientX = 150
+clientY = 100
+touchend is recieved:
+clientX = 150
+clientY = 100
+
+===== scrollX=40, scrollY=140, zoomFactor=1
+pointerdown of touch is recieved:
+clientX = 150
+clientY = 100
+touchstart is recieved:
+clientX = 150
+clientY = 100
+pointermove of touch is recieved:
+clientX = 150
+clientY = 100
+touchmove is recieved:
+clientX = 150
+clientY = 100
+pointerup of touch is recieved:
+clientX = 150
+clientY = 100
+touchend is recieved:
+clientX = 150
+clientY = 100
+
+===== scrollX=40, scrollY=140, zoomFactor=2
+pointerdown of touch is recieved:
+clientX = 50
+clientY = 0
+touchstart is recieved:
+clientX = 50
+clientY = 0
+pointermove of touch is recieved:
+clientX = 50
+clientY = 0
+touchmove is recieved:
+clientX = 50
+clientY = 0
+pointerup of touch is recieved:
+clientX = 50
+clientY = 0
+touchend is recieved:
+clientX = 50
+clientY = 0
+
+

Powered by Google App Engine
This is Rietveld 408576698