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

Issue 2250523003: Implement SANACLAP (http://bit.ly/sanaclap). (Closed)

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

Description

Implement SANACLAP (http://bit.ly/sanaclap). ScrollAnchor now suppresses anchoring if the anchor node or one of its ancestors (up to the scroller) has just changed a layout-affecting CSS property. Also removes bounce suppression, the 20-adjustment limit, and the exclusion of absolute-positioned elements with non-zero left/top. BUG=637626 Committed: https://crrev.com/98578a93aa90885ea8fc8a0d30c0823b7eb708ca Cr-Commit-Position: refs/heads/master@{#413010}

Patch Set 1 #

Patch Set 2 : kill AnchorPoint #

Total comments: 9

Patch Set 3 : rebase #

Patch Set 4 : address review comments #

Total comments: 4

Patch Set 5 : address review comments #

Total comments: 2

Patch Set 6 : improve comment #

Unified diffs Side-by-side diffs Delta from patch set Stats (+168 lines, -353 lines) Patch
D third_party/WebKit/LayoutTests/fast/layout/scroll-anchoring/feedback-loop.html View 1 chunk +0 lines, -53 lines 0 comments Download
D third_party/WebKit/LayoutTests/fast/layout/scroll-anchoring/onscroll-bouncing.html View 1 chunk +0 lines, -98 lines 0 comments Download
M third_party/WebKit/Source/core/layout/LayoutObject.h View 1 2 3 4 chunks +12 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/layout/LayoutObject.cpp View 1 2 3 1 chunk +3 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/layout/ScrollAnchor.h View 1 2 3 4 5 4 chunks +16 lines, -38 lines 0 comments Download
M third_party/WebKit/Source/core/layout/ScrollAnchor.cpp View 1 2 3 4 8 chunks +47 lines, -85 lines 0 comments Download
M third_party/WebKit/Source/core/layout/ScrollAnchorTest.cpp View 1 2 9 chunks +80 lines, -79 lines 0 comments Download
M third_party/WebKit/Source/core/style/ComputedStyle.cpp View 1 2 3 1 chunk +5 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/style/StyleDifference.h View 1 2 3 3 chunks +5 lines, -0 lines 0 comments Download

Messages

Total messages: 45 (29 generated)
skobes
4 years, 4 months ago (2016-08-16 22:47:20 UTC) #17
ojan
\o/ https://codereview.chromium.org/2250523003/diff/140001/third_party/WebKit/Source/core/layout/LayoutObject.h File third_party/WebKit/Source/core/layout/LayoutObject.h (right): https://codereview.chromium.org/2250523003/diff/140001/third_party/WebKit/Source/core/layout/LayoutObject.h#newcode1420 third_party/WebKit/Source/core/layout/LayoutObject.h:1420: bool hasLayoutAffectingStyleChanged() { return m_bitfields.hasLayoutAffectingStyleChanged(); } <bikeshed>This name ...
4 years, 4 months ago (2016-08-16 23:54:32 UTC) #20
Bugs Nash
https://codereview.chromium.org/2250523003/diff/140001/third_party/WebKit/Source/core/style/ComputedStyle.cpp File third_party/WebKit/Source/core/style/ComputedStyle.cpp (right): https://codereview.chromium.org/2250523003/diff/140001/third_party/WebKit/Source/core/style/ComputedStyle.cpp#newcode876 third_party/WebKit/Source/core/style/ComputedStyle.cpp:876: if (diff.needsLayout() || diff.transformChanged()) On 2016/08/16 at 23:54:32, ojan ...
4 years, 4 months ago (2016-08-17 02:08:46 UTC) #21
skobes
On 2016/08/17 02:08:46, Bugs Nash wrote: > On 2016/08/16 at 23:54:32, ojan wrote: > > ...
4 years, 4 months ago (2016-08-17 04:12:49 UTC) #22
esprehn
On 2016/08/17 at 04:12:49, skobes wrote: > On 2016/08/17 02:08:46, Bugs Nash wrote: > > ...
4 years, 4 months ago (2016-08-17 14:22:51 UTC) #23
skobes
Thanks for the review. On 2016/08/17 14:22:51, esprehn wrote: > They control what you're positioned ...
4 years, 4 months ago (2016-08-17 18:50:32 UTC) #24
skobes
Per offline discussion with Ojan the current plan is: 1. Land this patch with the ...
4 years, 4 months ago (2016-08-18 01:17:07 UTC) #32
Bugs Nash
On 2016/08/18 at 01:17:07, skobes wrote: > Per offline discussion with Ojan the current plan ...
4 years, 4 months ago (2016-08-18 05:36:16 UTC) #33
ymalik
lgtm https://codereview.chromium.org/2250523003/diff/180001/third_party/WebKit/Source/core/layout/ScrollAnchor.cpp File third_party/WebKit/Source/core/layout/ScrollAnchor.cpp (right): https://codereview.chromium.org/2250523003/diff/180001/third_party/WebKit/Source/core/layout/ScrollAnchor.cpp#newcode256 third_party/WebKit/Source/core/layout/ScrollAnchor.cpp:256: return; Will it be useful to have an ...
4 years, 4 months ago (2016-08-18 07:44:20 UTC) #34
skobes
On 2016/08/18 05:36:16, Bugs Nash wrote: > sgtm. Should there be a new layout test ...
4 years, 4 months ago (2016-08-18 17:45:56 UTC) #35
ojan
LGTM The immediate next step will be to audit the needsLayout setting bits and come ...
4 years, 4 months ago (2016-08-18 18:39:48 UTC) #36
Bugs Nash
lgtm
4 years, 4 months ago (2016-08-18 21:31:24 UTC) #37
skobes
https://codereview.chromium.org/2250523003/diff/200001/third_party/WebKit/Source/core/layout/ScrollAnchor.h File third_party/WebKit/Source/core/layout/ScrollAnchor.h (right): https://codereview.chromium.org/2250523003/diff/200001/third_party/WebKit/Source/core/layout/ScrollAnchor.h#newcode108 third_party/WebKit/Source/core/layout/ScrollAnchor.h:108: // has had a scroll-anchor-disabling style changed since the ...
4 years, 4 months ago (2016-08-18 21:43:42 UTC) #38
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/2250523003/220001
4 years, 4 months ago (2016-08-18 21:45:03 UTC) #41
commit-bot: I haz the power
Committed patchset #6 (id:220001)
4 years, 4 months ago (2016-08-19 01:36:29 UTC) #43
commit-bot: I haz the power
4 years, 4 months ago (2016-08-19 01:46:18 UTC) #45
Message was sent while issue was closed.
Patchset 6 (id:??) landed as
https://crrev.com/98578a93aa90885ea8fc8a0d30c0823b7eb708ca
Cr-Commit-Position: refs/heads/master@{#413010}

Powered by Google App Engine
This is Rietveld 408576698