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

Unified Diff: LayoutTests/rubberbanding/momentum-reset.html

Issue 282743002: Fix page jumping back to initial position after an overflow-bounce scroll. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Remove whitespace from TestExpectations that was causing a rebase failure. Created 6 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: LayoutTests/rubberbanding/momentum-reset.html
diff --git a/LayoutTests/rubberbanding/momentum-reset.html b/LayoutTests/rubberbanding/momentum-reset.html
index c1e8ea15d12ba433cb742c82936d1a66c2301319..7a1a748024612238f18b1ff95c1e7b3a91c0685f 100644
--- a/LayoutTests/rubberbanding/momentum-reset.html
+++ b/LayoutTests/rubberbanding/momentum-reset.html
@@ -8,13 +8,13 @@
if (window.internals) {
document.getElementById('info').style.visibility = 'hidden';
internals.settings.setMockScrollbarsEnabled(false);
-
+
eventSender.mouseMoveTo(10, 10);
eventSender.mouseDragBegin();
eventSender.mouseDragEnd();
// Simulate a momentum scroll following the end of a normal scroll.
- eventSender.mouseMomentumBegin();
+ eventSender.mouseMomentumBegin2(0, 0, false, true);
eventSender.mouseMomentumScrollBy(0, 250, false, true);
eventSender.mouseMomentumEnd();

Powered by Google App Engine
This is Rietveld 408576698