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

Issue 1640973005: Implement findAnchor and computeRelativeOffset in ScrollAnchor. (Closed)

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

Description

Implement findAnchor and computeRelativeOffset in ScrollAnchor. BUG=558575 Committed: https://crrev.com/151ee85f4f13bb30afdfe0986a1a85216868ce04 Cr-Commit-Position: refs/heads/master@{#373998}

Patch Set 1 #

Total comments: 8

Patch Set 2 : rebase #

Patch Set 3 : address review comment #

Total comments: 2

Patch Set 4 : rebase #

Patch Set 5 : rebase #

Patch Set 6 : cache offset between layouts #

Unified diffs Side-by-side diffs Delta from patch set Stats (+49 lines, -15 lines) Patch
M third_party/WebKit/Source/core/layout/ScrollAnchor.cpp View 1 2 3 4 5 2 chunks +38 lines, -12 lines 0 comments Download
M third_party/WebKit/Source/core/layout/ScrollAnchorTest.cpp View 1 2 3 1 chunk +11 lines, -3 lines 0 comments Download

Messages

Total messages: 21 (5 generated)
skobes
4 years, 10 months ago (2016-01-29 06:46:40 UTC) #2
ojan
https://codereview.chromium.org/1640973005/diff/1/third_party/WebKit/Source/core/layout/ScrollAnchor.cpp File third_party/WebKit/Source/core/layout/ScrollAnchor.cpp (right): https://codereview.chromium.org/1640973005/diff/1/third_party/WebKit/Source/core/layout/ScrollAnchor.cpp#newcode47 third_party/WebKit/Source/core/layout/ScrollAnchor.cpp:47: while (child) { I think we'll need to think ...
4 years, 10 months ago (2016-02-02 06:26:41 UTC) #3
chrishtr
https://codereview.chromium.org/1640973005/diff/1/third_party/WebKit/Source/core/layout/ScrollAnchor.cpp File third_party/WebKit/Source/core/layout/ScrollAnchor.cpp (right): https://codereview.chromium.org/1640973005/diff/1/third_party/WebKit/Source/core/layout/ScrollAnchor.cpp#newcode42 third_party/WebKit/Source/core/layout/ScrollAnchor.cpp:42: : scrollerBox->localToAbsoluteQuad( absolute maps to the space of the ...
4 years, 10 months ago (2016-02-02 17:56:15 UTC) #5
skobes
https://codereview.chromium.org/1640973005/diff/1/third_party/WebKit/Source/core/layout/ScrollAnchor.cpp File third_party/WebKit/Source/core/layout/ScrollAnchor.cpp (right): https://codereview.chromium.org/1640973005/diff/1/third_party/WebKit/Source/core/layout/ScrollAnchor.cpp#newcode42 third_party/WebKit/Source/core/layout/ScrollAnchor.cpp:42: : scrollerBox->localToAbsoluteQuad( On 2016/02/02 17:56:15, chrishtr wrote: > absolute ...
4 years, 10 months ago (2016-02-02 23:03:55 UTC) #6
ojan
lgtm assuming chris is OK with the absolute quad computation being fixed as a TODO. ...
4 years, 10 months ago (2016-02-03 01:37:03 UTC) #7
chrishtr
I'm ok with a TODO. We should also look closely at the performance characteristics leading ...
4 years, 10 months ago (2016-02-03 18:33:03 UTC) #8
skobes
https://codereview.chromium.org/1640973005/diff/1/third_party/WebKit/Source/core/layout/ScrollAnchor.cpp File third_party/WebKit/Source/core/layout/ScrollAnchor.cpp (right): https://codereview.chromium.org/1640973005/diff/1/third_party/WebKit/Source/core/layout/ScrollAnchor.cpp#newcode50 third_party/WebKit/Source/core/layout/ScrollAnchor.cpp:50: candidate = child; On 2016/02/03 01:37:03, ojan wrote: > ...
4 years, 10 months ago (2016-02-04 01:51:15 UTC) #9
ojan
On 2016/02/04 at 01:51:15, skobes wrote: > https://codereview.chromium.org/1640973005/diff/1/third_party/WebKit/Source/core/layout/ScrollAnchor.cpp > File third_party/WebKit/Source/core/layout/ScrollAnchor.cpp (right): > > https://codereview.chromium.org/1640973005/diff/1/third_party/WebKit/Source/core/layout/ScrollAnchor.cpp#newcode50 ...
4 years, 10 months ago (2016-02-05 10:37:58 UTC) #10
skobes
On 2016/02/05 10:37:58, ojan wrote: > I still don't see the advantage of being fully ...
4 years, 10 months ago (2016-02-05 17:53:47 UTC) #11
ojan
On 2016/02/05 at 17:53:47, skobes wrote: > On 2016/02/05 10:37:58, ojan wrote: > > I ...
4 years, 10 months ago (2016-02-06 00:23:57 UTC) #12
skobes
On 2016/02/06 00:23:57, ojan wrote: > The question is what scenario it would make sense ...
4 years, 10 months ago (2016-02-06 00:32:04 UTC) #13
skobes
https://codereview.chromium.org/1640973005/diff/40001/third_party/WebKit/Source/core/layout/ScrollAnchorTest.cpp File third_party/WebKit/Source/core/layout/ScrollAnchorTest.cpp (right): https://codereview.chromium.org/1640973005/diff/40001/third_party/WebKit/Source/core/layout/ScrollAnchorTest.cpp#newcode16 third_party/WebKit/Source/core/layout/ScrollAnchorTest.cpp:16: class ScrollAnchorTest : public RenderingTest { On 2016/02/03 01:37:03, ...
4 years, 10 months ago (2016-02-06 01:02:17 UTC) #14
skobes
(Patch set 6 incorporates suggestion from http://crrev.com/1647793002 to not recompute m_savedRelativeOffset when the anchor node ...
4 years, 10 months ago (2016-02-06 01:05:29 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1640973005/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1640973005/100001
4 years, 10 months ago (2016-02-06 01:05:42 UTC) #18
commit-bot: I haz the power
Committed patchset #6 (id:100001)
4 years, 10 months ago (2016-02-06 02:42:31 UTC) #19
commit-bot: I haz the power
4 years, 10 months ago (2016-02-06 02:44:02 UTC) #21
Message was sent while issue was closed.
Patchset 6 (id:??) landed as
https://crrev.com/151ee85f4f13bb30afdfe0986a1a85216868ce04
Cr-Commit-Position: refs/heads/master@{#373998}

Powered by Google App Engine
This is Rietveld 408576698