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

Unified Diff: third_party/WebKit/LayoutTests/fast/events/pointerevents/pointer-event-in-slop-region.html

Issue 2701553002: Touchmoves should not be suppressed if the touchstart is consumed (Closed)
Patch Set: remove comments Created 3 years, 10 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/fast/events/pointerevents/pointer-event-in-slop-region.html
diff --git a/third_party/WebKit/LayoutTests/fast/events/pointerevents/pointer-event-in-slop-region.html b/third_party/WebKit/LayoutTests/fast/events/pointerevents/pointer-event-in-slop-region.html
index 6306b2c1624fe36adbda277af01578749fffebf9..e7432e2547e815e56c61dee33bc036f8775b76f0 100644
--- a/third_party/WebKit/LayoutTests/fast/events/pointerevents/pointer-event-in-slop-region.html
+++ b/third_party/WebKit/LayoutTests/fast/events/pointerevents/pointer-event-in-slop-region.html
@@ -38,7 +38,7 @@ function validPointerMoveResult(event) {
function callbackValidMoveCount() {
testTouchMove.step(function () {
assert_equals(touchMoveCount, 3);
- assert_equals(pointerMoveCount, 5);
+ assert_equals(pointerMoveCount, 7);
});
testTouchMove.done();
}
@@ -49,11 +49,13 @@ function testTouchMoveSuppressionInSlopRegion() {
[{source: "touch",
actions: [
{ name: "pointerDown", x: x, y: y },
+ { name: "pointerMove", x: x, y: y + 1 },
{ name: "pointerMove", x: x, y: y + 10 },
{ name: "pointerMove", x: x, y: y + 20 },
{ name: "pointerMove", x: x, y: y + 10 },
{ name: "pointerUp" },
{ name: "pointerDown", x: x, y: y },
+ { name: "pointerMove", x: x, y: y + 1 },
{ name: "pointerMove", x: x, y: y + 10 },
{ name: "pointerMove", x: x, y: y + 20 }]}];
chrome.gpuBenchmarking.pointerActionSequence(pointerActions, callbackValidMoveCount);

Powered by Google App Engine
This is Rietveld 408576698