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

Issue 2725953002: Refactor LayoutTreeBuilderTraversal to expose a cleaner interface to layout sibling nodes. (Closed)

Created:
3 years, 9 months ago by emilio
Modified:
3 years, 9 months ago
Reviewers:
rune
CC:
chromium-reviews, sof, eae+blinkwatch, blink-reviews-dom_chromium.org, dglazkov+blink, blink-reviews, rwlbuis
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Refactor LayoutTreeBuilderTraversal to expose a cleaner interface to layout sibling nodes. This is the first step towards fixing the whitespace attachment bugs we have. My plan is to use this from recalcDescendantStyles, and reattachWhitespaceSiblings instead of the light tree. BUG=657748 Review-Url: https://codereview.chromium.org/2725953002 Cr-Commit-Position: refs/heads/master@{#456105} Committed: https://chromium.googlesource.com/chromium/src/+/15261753dcb96f302ca53757dcaefa442c4b2f0d

Patch Set 1 #

Patch Set 2 : Refactor LayoutTreeBuilderTraversal to expose a cleaner interface to layout sibling nodes. #

Patch Set 3 : Refactor LayoutTreeBuilderTraversal to expose a cleaner interface to layout sibling nodes. #

Total comments: 1

Patch Set 4 : Address review comments. #

Patch Set 5 : Address review comments. #

Patch Set 6 : Refactor LayoutTreeBuilderTraversal to expose a cleaner interface to layout sibling nodes. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+67 lines, -52 lines) Patch
M third_party/WebKit/Source/core/dom/LayoutTreeBuilderTraversal.h View 1 2 3 4 5 2 chunks +12 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/dom/LayoutTreeBuilderTraversal.cpp View 1 2 3 4 5 3 chunks +55 lines, -52 lines 0 comments Download

Messages

Total messages: 25 (17 generated)
emilio
Ouch, I submitted this a few days ago and thought I had put it on ...
3 years, 9 months ago (2017-03-08 16:27:49 UTC) #14
rune
https://codereview.chromium.org/2725953002/diff/40001/third_party/WebKit/Source/core/dom/LayoutTreeBuilderTraversal.h File third_party/WebKit/Source/core/dom/LayoutTreeBuilderTraversal.h (right): https://codereview.chromium.org/2725953002/diff/40001/third_party/WebKit/Source/core/dom/LayoutTreeBuilderTraversal.h#newcode41 third_party/WebKit/Source/core/dom/LayoutTreeBuilderTraversal.h:41: static Node* previousLayoutSibling(const Node&, int32_t& limit); I'd put these ...
3 years, 9 months ago (2017-03-10 12:32:42 UTC) #15
emilio
On 2017/03/10 12:32:42, rune wrote: > https://codereview.chromium.org/2725953002/diff/40001/third_party/WebKit/Source/core/dom/LayoutTreeBuilderTraversal.h > File third_party/WebKit/Source/core/dom/LayoutTreeBuilderTraversal.h (right): > > https://codereview.chromium.org/2725953002/diff/40001/third_party/WebKit/Source/core/dom/LayoutTreeBuilderTraversal.h#newcode41 > ...
3 years, 9 months ago (2017-03-10 13:31:00 UTC) #16
emilio
On 2017/03/10 13:31:00, emilio wrote: > On 2017/03/10 12:32:42, rune wrote: > > > https://codereview.chromium.org/2725953002/diff/40001/third_party/WebKit/Source/core/dom/LayoutTreeBuilderTraversal.h ...
3 years, 9 months ago (2017-03-10 13:40:50 UTC) #17
rune
On 2017/03/10 13:40:50, emilio wrote: > On 2017/03/10 13:31:00, emilio wrote: > > On 2017/03/10 ...
3 years, 9 months ago (2017-03-10 14:14:19 UTC) #18
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/2725953002/100001
3 years, 9 months ago (2017-03-10 16:38:51 UTC) #21
emilio
On 2017/03/10 14:14:19, rune wrote: > On 2017/03/10 13:40:50, emilio wrote: > > On 2017/03/10 ...
3 years, 9 months ago (2017-03-10 16:39:05 UTC) #22
commit-bot: I haz the power
3 years, 9 months ago (2017-03-10 18:05:41 UTC) #25
Message was sent while issue was closed.
Committed patchset #6 (id:100001) as
https://chromium.googlesource.com/chromium/src/+/15261753dcb96f302ca53757dcae...

Powered by Google App Engine
This is Rietveld 408576698