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

Issue 1547003002: Fix error in determining the target position for smooth scroll animation curve (Closed)

Created:
5 years ago by ymalik
Modified:
5 years ago
Reviewers:
jbroman, Rick Byers
CC:
chromium-reviews, shans, rjwright, blink-reviews-animation_chromium.org, darktears, blink-reviews, kinuko+watch, Eric Willigers, skobes
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Fix error in determining the target position for the smooth scroll animation curve. This is for the user scroll events that have a mouse wheel handler and get handled on the main thread. This bug was introduced in crrev.com/1534813004, where when we get consecutive scroll events, the first one overwritten if it is waiting to be sent to the the compositor. BUG=552556 Committed: https://crrev.com/d0a670ec608697b975b7ca8e5bf9ef976afd4862 Cr-Commit-Position: refs/heads/master@{#366799}

Patch Set 1 #

Patch Set 2 : add test #

Total comments: 4

Patch Set 3 : worked on review comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+21 lines, -6 lines) Patch
M third_party/WebKit/LayoutTests/fast/scroll-behavior/smooth-scroll/mousewheel-scroll.html View 1 2 2 chunks +18 lines, -5 lines 0 comments Download
M third_party/WebKit/LayoutTests/fast/scroll-behavior/smooth-scroll/mousewheel-scroll-expected.txt View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/Source/platform/scroll/ScrollAnimator.cpp View 1 2 1 chunk +2 lines, -1 line 0 comments Download

Messages

Total messages: 23 (9 generated)
ymalik
5 years ago (2015-12-23 18:56:19 UTC) #3
Rick Byers
skobes@ is obviously the expert here, but with most everyone out for the holidays I'm ...
5 years ago (2015-12-23 19:13:34 UTC) #4
ymalik
+Jeremy for Source/platform/scroll https://codereview.chromium.org/1547003002/diff/20001/third_party/WebKit/LayoutTests/fast/scroll-behavior/smooth-scroll/mousewheel-scroll.html File third_party/WebKit/LayoutTests/fast/scroll-behavior/smooth-scroll/mousewheel-scroll.html (right): https://codereview.chromium.org/1547003002/diff/20001/third_party/WebKit/LayoutTests/fast/scroll-behavior/smooth-scroll/mousewheel-scroll.html#newcode29 third_party/WebKit/LayoutTests/fast/scroll-behavior/smooth-scroll/mousewheel-scroll.html:29: shouldBecomeEqual("document.scrollingElement.scrollTop == 80 && " + ...
5 years ago (2015-12-23 19:20:38 UTC) #6
Rick Byers
LGTM
5 years ago (2015-12-23 19:21:52 UTC) #7
Rick Byers
Actually one little thing: please clarify in the CL summary that this is about smooth ...
5 years ago (2015-12-23 19:25:29 UTC) #8
ymalik
On 2015/12/23 19:25:29, Rick Byers wrote: > Actually one little thing: please clarify in the ...
5 years ago (2015-12-23 19:31:01 UTC) #10
Rick Byers
LGTM thanks
5 years ago (2015-12-23 19:31:55 UTC) #11
jbroman
rbyers is an owner of Source/platform/ (by virtue of being in API_OWNERS), so you're welcome ...
5 years ago (2015-12-23 19:39:38 UTC) #12
ymalik
On 2015/12/23 19:39:38, jbroman wrote: > rbyers is an owner of Source/platform/ (by virtue of ...
5 years ago (2015-12-23 19:42:22 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1547003002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1547003002/40001
5 years ago (2015-12-23 19:43:34 UTC) #15
commit-bot: I haz the power
Try jobs failed on following builders: win_chromium_x64_rel_ng on tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_x64_rel_ng/builds/148321)
5 years ago (2015-12-23 21:28:05 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1547003002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1547003002/40001
5 years ago (2015-12-24 02:37:11 UTC) #19
commit-bot: I haz the power
Committed patchset #3 (id:40001)
5 years ago (2015-12-24 04:04:37 UTC) #21
commit-bot: I haz the power
5 years ago (2015-12-24 04:06:05 UTC) #23
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/d0a670ec608697b975b7ca8e5bf9ef976afd4862
Cr-Commit-Position: refs/heads/master@{#366799}

Powered by Google App Engine
This is Rietveld 408576698