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

Unified Diff: third_party/WebKit/LayoutTests/fast/events/gesture-pinch-zoom-scroll-bubble.html

Issue 1812653002: Scale the deltaX/deltaY on the mouse wheel events to be consistent with the compositor implementati… (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add another layout test that was failing Created 4 years, 9 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 | « no previous file | third_party/WebKit/LayoutTests/fast/events/scroll-in-scaled-page-with-overflow-hidden.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/LayoutTests/fast/events/gesture-pinch-zoom-scroll-bubble.html
diff --git a/third_party/WebKit/LayoutTests/fast/events/gesture-pinch-zoom-scroll-bubble.html b/third_party/WebKit/LayoutTests/fast/events/gesture-pinch-zoom-scroll-bubble.html
index 2cb634ac965e4ebbe87bd73cb40b0ebf0c9ff025..b242f86831087bba8778138c852c2322cad64b7f 100644
--- a/third_party/WebKit/LayoutTests/fast/events/gesture-pinch-zoom-scroll-bubble.html
+++ b/third_party/WebKit/LayoutTests/fast/events/gesture-pinch-zoom-scroll-bubble.html
@@ -6,7 +6,7 @@ window.jsTestIsAsync = true;
function testVerticalScroll() {
// Do a purely vertical scroll. This will scroll contents only.
- eventSender.continuousMouseScrollBy(0, -1);
+ eventSender.continuousMouseScrollBy(0, -2, false, true);
bokan 2016/03/17 12:31:16 Why do we need the arguments on only this call?
dtapuska 2016/03/17 12:48:11 Because I accidentally left them in from debugging
shouldBecomeEqual('internals.visualViewportScrollX() == 200 && ' +
'internals.visualViewportScrollY() == 301', 'true', testHorizontalScroll);
}
@@ -14,7 +14,7 @@ function testVerticalScroll() {
function testHorizontalScroll() {
// Do a purely horizontal scroll. This will change pinch virtual viewport
// offset only.
- eventSender.continuousMouseScrollBy(-1, 0);
+ eventSender.continuousMouseScrollBy(-2, 0);
shouldBecomeEqual('internals.visualViewportScrollX() == 201 && ' +
'internals.visualViewportScrollY() == 301', 'true', testDiagonalScroll);
}
@@ -23,7 +23,7 @@ function testDiagonalScroll() {
// Do a diagonal scroll. This will scroll the contents, and then bubble the
// result up to the visual viewport, where it will change the pinch
// virtual viewport offset.
- eventSender.continuousMouseScrollBy(2, 2);
+ eventSender.continuousMouseScrollBy(4, 4);
shouldBecomeEqual('internals.visualViewportScrollX() == 199 && ' +
'internals.visualViewportScrollY() == 299', 'true', finishJSTest);
}
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/fast/events/scroll-in-scaled-page-with-overflow-hidden.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698