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

Issue 1256043007: Recompute slow scroll regions after overflow recalc (Closed)

Created:
5 years, 4 months ago by majidvp
Modified:
5 years, 3 months ago
Reviewers:
Rick Byers
CC:
darktears, blink-layers+watch_chromium.org, blink-reviews, blink-reviews-animation_chromium.org, Eric Willigers, kenneth.christiansen, rjwright, shans, trchen
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Target Ref:
refs/heads/master
Project:
blink
Visibility:
Public.

Description

Recompute slow scroll regions after overflow recalc This ensures that we always get correct slow scroll regions even when full layout is skipped in favor of faster OverflowRecalc. TEST=scrollingcoordinator/non-fast-scrollable-transform-changed.html BUG=417345 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=201483

Patch Set 1 #

Patch Set 2 : Minor test updates #

Total comments: 13

Patch Set 3 : Address feedback #

Total comments: 1

Patch Set 4 : Simplify test and ensure layout is not triggered #

Patch Set 5 : replace iframe with div #

Unified diffs Side-by-side diffs Delta from patch set Stats (+112 lines, -0 lines) Patch
A LayoutTests/scrollingcoordinator/non-fast-scrollable-transform-changed.html View 1 2 3 4 1 chunk +74 lines, -0 lines 0 comments Download
A LayoutTests/scrollingcoordinator/non-fast-scrollable-transform-changed-expected.txt View 1 2 3 4 1 chunk +26 lines, -0 lines 0 comments Download
M Source/core/frame/FrameView.cpp View 1 2 3 1 chunk +5 lines, -0 lines 0 comments Download
M Source/core/page/scrolling/ScrollingCoordinator.h View 1 2 3 1 chunk +2 lines, -0 lines 0 comments Download
M Source/core/page/scrolling/ScrollingCoordinator.cpp View 1 2 3 1 chunk +5 lines, -0 lines 0 comments Download

Messages

Total messages: 13 (2 generated)
majidvp
trchen@: Is there an animation perf benchmark that I should keep an eye on for ...
5 years, 4 months ago (2015-08-05 13:26:07 UTC) #2
Rick Byers
Thanks for working on this Majid! https://codereview.chromium.org/1256043007/diff/20001/LayoutTests/scrollingcoordinator/non-fast-scrollable-animation.html File LayoutTests/scrollingcoordinator/non-fast-scrollable-animation.html (right): https://codereview.chromium.org/1256043007/diff/20001/LayoutTests/scrollingcoordinator/non-fast-scrollable-animation.html#newcode27 LayoutTests/scrollingcoordinator/non-fast-scrollable-animation.html:27: <iframe id='nonFastRegion' onload='runAfterLayoutAndPaint(window.runTests)' ...
5 years, 4 months ago (2015-08-05 15:02:59 UTC) #3
Rick Byers
https://codereview.chromium.org/1256043007/diff/20001/Source/core/frame/FrameView.cpp File Source/core/frame/FrameView.cpp (right): https://codereview.chromium.org/1256043007/diff/20001/Source/core/frame/FrameView.cpp#newcode646 Source/core/frame/FrameView.cpp:646: if (ScrollingCoordinator* scrollingCoordinator = this->scrollingCoordinator()) Please add a comment ...
5 years, 4 months ago (2015-08-05 15:04:05 UTC) #4
majidvp
https://codereview.chromium.org/1256043007/diff/20001/LayoutTests/scrollingcoordinator/non-fast-scrollable-animation.html File LayoutTests/scrollingcoordinator/non-fast-scrollable-animation.html (right): https://codereview.chromium.org/1256043007/diff/20001/LayoutTests/scrollingcoordinator/non-fast-scrollable-animation.html#newcode27 LayoutTests/scrollingcoordinator/non-fast-scrollable-animation.html:27: <iframe id='nonFastRegion' onload='runAfterLayoutAndPaint(window.runTests)' src="data:text/html;charset=utf-8,<div style='height:1000px; width:1000px; background: linear-gradient(to bottom, ...
5 years, 4 months ago (2015-08-05 15:39:35 UTC) #5
Rick Byers
https://codereview.chromium.org/1256043007/diff/20001/LayoutTests/scrollingcoordinator/non-fast-scrollable-animation.html File LayoutTests/scrollingcoordinator/non-fast-scrollable-animation.html (right): https://codereview.chromium.org/1256043007/diff/20001/LayoutTests/scrollingcoordinator/non-fast-scrollable-animation.html#newcode28 LayoutTests/scrollingcoordinator/non-fast-scrollable-animation.html:28: </iframe> On 2015/08/05 15:39:35, majidvp wrote: > On 2015/08/05 ...
5 years, 4 months ago (2015-08-06 03:15:19 UTC) #6
Rick Byers
https://codereview.chromium.org/1256043007/diff/40001/LayoutTests/scrollingcoordinator/non-fast-scrollable-animation.html File LayoutTests/scrollingcoordinator/non-fast-scrollable-animation.html (right): https://codereview.chromium.org/1256043007/diff/40001/LayoutTests/scrollingcoordinator/non-fast-scrollable-animation.html#newcode58 LayoutTests/scrollingcoordinator/non-fast-scrollable-animation.html:58: shouldBe('internals.needsLayoutCount()', '0'); I don't think this verifies that no ...
5 years, 4 months ago (2015-08-06 03:19:47 UTC) #7
majidvp
On 2015/08/06 03:15:19, Rick Byers wrote: > https://codereview.chromium.org/1256043007/diff/20001/LayoutTests/scrollingcoordinator/non-fast-scrollable-animation.html > File LayoutTests/scrollingcoordinator/non-fast-scrollable-animation.html > (right): > > ...
5 years, 3 months ago (2015-08-29 00:23:30 UTC) #8
majidvp
On 2015/08/06 03:19:47, Rick Byers wrote: > https://codereview.chromium.org/1256043007/diff/40001/LayoutTests/scrollingcoordinator/non-fast-scrollable-animation.html > File LayoutTests/scrollingcoordinator/non-fast-scrollable-animation.html > (right): > > ...
5 years, 3 months ago (2015-08-29 00:36:05 UTC) #9
Rick Byers
Nice, this is much simpler / more direct - thank you! LGTM
5 years, 3 months ago (2015-08-29 20:35:22 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1256043007/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1256043007/80001
5 years, 3 months ago (2015-08-31 12:34:28 UTC) #12
commit-bot: I haz the power
5 years, 3 months ago (2015-08-31 14:12:22 UTC) #13
Message was sent while issue was closed.
Committed patchset #5 (id:80001) as
https://src.chromium.org/viewvc/blink?view=rev&revision=201483

Powered by Google App Engine
This is Rietveld 408576698