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

Issue 122093002: Fix page jumping back to initial position after an overflow-bounce scroll.

Created:
6 years, 12 months ago by Nico
Modified:
6 years, 6 months ago
CC:
blink-reviews, shans, rjwright, alancutter (OOO until 2018), Mike Lawther (Google), dstockwell, Timothy Loh, darktears, Steve Block, dino_apple.com, Eric Willigers, ccameron, jamesr, Julien - ping for review
Visibility:
Public.

Description

Fix page jumping back to initial position after an overflow-bounce scroll. Merges http://trac.webkit.org/changeset/160791 and http://trac.webkit.org/changeset/160898 from Beth Dakin <bdakin@apple.com>;. BUG=330887 TEST=Do a two-finger scroll at 45 degrees scrolling down and right on the right page edge. Prior to this patch, this would scroll down and overscroll-bounce to the right, and at the end of the scroll the page would jump back to where the scroll started. With this patch, no jumping occurs. (Also see bug.)

Patch Set 1 #

Patch Set 2 : does not fail :-/ #

Total comments: 3
Unified diffs Side-by-side diffs Delta from patch set Stats (+36 lines, -15 lines) Patch
A + LayoutTests/rubberbanding/scroll-bounce-fix.html View 1 2 chunks +17 lines, -14 lines 1 comment Download
M Source/platform/mac/ScrollAnimatorMac.h View 1 1 chunk +1 line, -0 lines 0 comments Download
M Source/platform/mac/ScrollAnimatorMac.mm View 1 chunk +12 lines, -0 lines 0 comments Download
M Source/platform/mac/ScrollElasticityController.h View 1 chunk +4 lines, -0 lines 0 comments Download
M Source/platform/mac/ScrollElasticityController.mm View 1 1 chunk +2 lines, -1 line 2 comments Download

Messages

Total messages: 9 (0 generated)
Nico
This is where you get to say "test?" :-) If you do that, I'd be ...
6 years, 12 months ago (2013-12-28 19:25:27 UTC) #1
eseidel
6 years, 12 months ago (2013-12-28 19:58:23 UTC) #2
Alexei Svitkine (slow)
Change looks good. As for testing it, perhaps something similar to this test would work: ...
6 years, 11 months ago (2014-01-06 19:45:17 UTC) #3
Alexei Svitkine (slow)
On 2014/01/06 19:45:17, Alexei Svitkine wrote: > Change looks good. > > As for testing ...
6 years, 11 months ago (2014-01-15 17:52:05 UTC) #4
Nico
On Wed, Jan 15, 2014 at 9:52 AM, <asvitkine@chromium.org> wrote: > On 2014/01/06 19:45:17, Alexei ...
6 years, 11 months ago (2014-01-15 17:52:35 UTC) #5
Alexei Svitkine (slow)
np, just making sure it doesn't get forgotten On Wed, Jan 15, 2014 at 12:52 ...
6 years, 11 months ago (2014-01-15 17:54:55 UTC) #6
erikchen
I fixed the unit test to correctly differentiate between the broken and correct behaviors. CL ...
6 years, 7 months ago (2014-05-13 04:07:13 UTC) #7
eseidel
This CL does not look ready for review. (maybe it was intended as a WIP?) ...
6 years, 6 months ago (2014-05-29 00:12:19 UTC) #8
erikchen
6 years, 6 months ago (2014-05-29 00:20:35 UTC) #9
This CL should be closed. I've forked the CL, and already landed the forked
change at:

https://codereview.chromium.org/282743002/

Powered by Google App Engine
This is Rietveld 408576698