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

Issue 1926473003: Smooth scroll animation should not override scroll anchoring update (MT) (Closed)

Created:
4 years, 7 months ago by ymalik
Modified:
4 years, 7 months ago
Reviewers:
ajuma, jbroman
CC:
darktears, blink-reviews, blink-reviews-animation_chromium.org, blink-reviews-layout_chromium.org, chromium-reviews, eae+blinkwatch, Eric Willigers, jchaffraix+rendering, kinuko+watch, leviw+renderwatch, ojan, pdr+renderingwatchlist_chromium.org, rjwright, shans, skobes, szager+layoutwatch_chromium.org, zoltan1
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Smooth scroll animation should not override scroll anchoring update (MT) Previously, the adjustment made by scroll anchoriing would be overwritten by the scroll position updates from the scroll offset animation because it worked with absolute scroll offset values. Now, when an adjustment is about to be made with an ongoing animation initiated by MT, we cancel that animation, update the curve, and schedule an animatiion with the update target. We do this by introducing a new state to the ScrollAnimator class which also fixes issue 599876. BUG=594456, 599876 Committed: https://crrev.com/98eaa26e00d063ccf9f31cd85261f66441bcd5b8 Cr-Commit-Position: refs/heads/master@{#390997}

Patch Set 1 #

Total comments: 2

Patch Set 2 : nit fix comment #

Patch Set 3 : rebase master #

Patch Set 4 : disable test for mac #

Messages

Total messages: 21 (10 generated)
ymalik
Note that this CL is dependent on https://codereview.chromium.org/1895293002/ so that scroll anchoring can be enable ...
4 years, 7 months ago (2016-04-27 03:58:57 UTC) #3
ajuma
lgtm https://codereview.chromium.org/1926473003/diff/1/third_party/WebKit/LayoutTests/fast/scroll-behavior/smooth-scroll/ongoing-smooth-scroll-anchors.html File third_party/WebKit/LayoutTests/fast/scroll-behavior/smooth-scroll/ongoing-smooth-scroll-anchors.html (right): https://codereview.chromium.org/1926473003/diff/1/third_party/WebKit/LayoutTests/fast/scroll-behavior/smooth-scroll/ongoing-smooth-scroll-anchors.html#newcode38 third_party/WebKit/LayoutTests/fast/scroll-behavior/smooth-scroll/ongoing-smooth-scroll-anchors.html:38: var endY = 305; Should this be 315 ...
4 years, 7 months ago (2016-04-27 15:46:11 UTC) #4
ymalik
https://codereview.chromium.org/1926473003/diff/1/third_party/WebKit/LayoutTests/fast/scroll-behavior/smooth-scroll/ongoing-smooth-scroll-anchors.html File third_party/WebKit/LayoutTests/fast/scroll-behavior/smooth-scroll/ongoing-smooth-scroll-anchors.html (right): https://codereview.chromium.org/1926473003/diff/1/third_party/WebKit/LayoutTests/fast/scroll-behavior/smooth-scroll/ongoing-smooth-scroll-anchors.html#newcode38 third_party/WebKit/LayoutTests/fast/scroll-behavior/smooth-scroll/ongoing-smooth-scroll-anchors.html:38: var endY = 305; On 2016/04/27 15:46:10, ajuma wrote: ...
4 years, 7 months ago (2016-04-27 16:21:39 UTC) #5
ymalik
4 years, 7 months ago (2016-04-27 16:21:41 UTC) #6
ymalik
+jbroman for Source/platform
4 years, 7 months ago (2016-04-28 15:24:43 UTC) #8
jbroman
rs lgtm
4 years, 7 months ago (2016-04-28 16:48:45 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1926473003/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1926473003/40001
4 years, 7 months ago (2016-04-29 18:56:58 UTC) #12
commit-bot: I haz the power
Try jobs failed on following builders: mac_chromium_rel_ng on tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_rel_ng/builds/220127)
4 years, 7 months ago (2016-04-29 20:52:41 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1926473003/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1926473003/60001
4 years, 7 months ago (2016-05-02 16:53:09 UTC) #17
commit-bot: I haz the power
Committed patchset #4 (id:60001)
4 years, 7 months ago (2016-05-02 18:21:36 UTC) #19
commit-bot: I haz the power
4 years, 7 months ago (2016-05-02 18:22:39 UTC) #21
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/98eaa26e00d063ccf9f31cd85261f66441bcd5b8
Cr-Commit-Position: refs/heads/master@{#390997}

Powered by Google App Engine
This is Rietveld 408576698