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

Issue 2118683002: Limit ScrollAnchor to 20 adjustments between user scrolls. (Closed)

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

Description

Limit ScrollAnchor to 20 adjustments between user scrolls. This somewhat mitigates the impact of pathological feedback loops with scroll event handlers. BUG=601906 Committed: https://crrev.com/34ae0389f0c660c23f691595341188acc5444e00 Cr-Commit-Position: refs/heads/master@{#403491}

Patch Set 1 #

Total comments: 4

Patch Set 2 : add comment #

Unified diffs Side-by-side diffs Delta from patch set Stats (+64 lines, -1 line) Patch
A third_party/WebKit/LayoutTests/fast/layout/scroll-anchoring/feedback-loop.html View 1 chunk +53 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/layout/ScrollAnchor.h View 1 chunk +3 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/layout/ScrollAnchor.cpp View 1 3 chunks +8 lines, -1 line 0 comments Download

Messages

Total messages: 10 (4 generated)
skobes
4 years, 5 months ago (2016-07-01 00:10:04 UTC) #2
ymalik
lgtm with questions https://codereview.chromium.org/2118683002/diff/1/third_party/WebKit/Source/core/layout/ScrollAnchor.cpp File third_party/WebKit/Source/core/layout/ScrollAnchor.cpp (right): https://codereview.chromium.org/2118683002/diff/1/third_party/WebKit/Source/core/layout/ScrollAnchor.cpp#newcode17 third_party/WebKit/Source/core/layout/ScrollAnchor.cpp:17: static const int kMaxAdjustments = 20; ...
4 years, 5 months ago (2016-07-01 01:07:11 UTC) #3
skobes
https://codereview.chromium.org/2118683002/diff/1/third_party/WebKit/Source/core/layout/ScrollAnchor.cpp File third_party/WebKit/Source/core/layout/ScrollAnchor.cpp (right): https://codereview.chromium.org/2118683002/diff/1/third_party/WebKit/Source/core/layout/ScrollAnchor.cpp#newcode17 third_party/WebKit/Source/core/layout/ScrollAnchor.cpp:17: static const int kMaxAdjustments = 20; On 2016/07/01 01:07:11, ...
4 years, 5 months ago (2016-07-01 17:28:26 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2118683002/20001
4 years, 5 months ago (2016-07-01 17:29:05 UTC) #7
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 5 months ago (2016-07-01 18:49:35 UTC) #8
commit-bot: I haz the power
4 years, 5 months ago (2016-07-01 18:51:57 UTC) #10
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/34ae0389f0c660c23f691595341188acc5444e00
Cr-Commit-Position: refs/heads/master@{#403491}

Powered by Google App Engine
This is Rietveld 408576698