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

Unified Diff: LayoutTests/fast/events/touch/multi-touch-partial-sequence-expected.txt

Issue 259413003: Correctly handle touch events that contain touches not previously reported to blink (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: rjkroege cr Created 6 years, 8 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/multi-touch-partial-sequence.html ('k') | Source/core/page/EventHandler.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/fast/events/touch/multi-touch-partial-sequence-expected.txt
diff --git a/LayoutTests/fast/events/touch/multi-touch-partial-sequence-expected.txt b/LayoutTests/fast/events/touch/multi-touch-partial-sequence-expected.txt
new file mode 100644
index 0000000000000000000000000000000000000000..adbeb172410f41d677cc66e8c4737c320e92e62c
--- /dev/null
+++ b/LayoutTests/fast/events/touch/multi-touch-partial-sequence-expected.txt
@@ -0,0 +1,37 @@
+Tests that events are received properly even when we never saw the touchstart for the first finger (eg. was skipped by cc touch hit testing) - crbug.com/363321
+
+On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
+
+
+Sending touchstart event.
+PASS event.target is target
+PASS event.touches.length is 2
+PASS event.touches[0].identifier is 0
+PASS event.touches[0].pageX is 12
+PASS event.touches[0].pageY is 0
+PASS event.touches[0].target is document
+PASS event.touches[1].identifier is 1
+PASS event.touches[1].pageX is targetX
+PASS event.touches[1].pageY is targetY
+PASS event.touches[1].target is target
+PASS event.changedTouches.length is 1
+PASS event.changedTouches[0].identifier is 1
+PASS event.targetTouches.length is 1
+PASS event.targetTouches[0].identifier is 1
+
+Sending touchmove and touchend for unrelated touch point.
+
+Sending touchend.
+PASS event.target is target
+PASS event.touches.length is 0
+PASS event.changedTouches.length is 1
+PASS event.changedTouches[0].identifier is 1
+PASS event.changedTouches[0].pageX is targetX
+PASS event.changedTouches[0].pageY is targetY
+PASS event.changedTouches[0].target is target
+PASS event.targetTouches.length is 0
+
+PASS successfullyParsed is true
+
+TEST COMPLETE
+
« no previous file with comments | « LayoutTests/fast/events/touch/multi-touch-partial-sequence.html ('k') | Source/core/page/EventHandler.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698