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

Issue 2786923004: [LayoutNG] WIP on storing layout output in the legacy tree for multicol. (Closed)

Created:
3 years, 8 months ago by mstensho (USE GERRIT)
Modified:
3 years, 8 months ago
Reviewers:
Gleb Lanbin
CC:
chromium-reviews, cbiesinger, ojan+watch_chromium.org, pdr+renderingwatchlist_chromium.org, glebl+reviews_chromium.org, dgrogan+ng_chromium.org, atotic+reviews_chromium.org, zoltan1, blink-reviews-layout_chromium.org, szager+layoutwatch_chromium.org, eae+blinkwatch, leviw+renderwatch, jchaffraix+rendering, blink-reviews
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

[LayoutNG] WIP on storing layout output in the legacy tree for multicol. Painting NG fragment trees is still not supported, so in the meantime we'll keep LayoutMultiColumnFlowThread and LayoutMultiColumnSet, and have multicol painted and hit-tested in the old-fashioned way (just like everything else, really). Based on work by glebl. BUG=635619 Review-Url: https://codereview.chromium.org/2786923004 Cr-Commit-Position: refs/heads/master@{#461409} Committed: https://chromium.googlesource.com/chromium/src/+/46ad4aca1dbb7184ebfae2a42fb41aa510eb3bcc

Patch Set 1 : patch from issue 2786253002 at patchset 1 (http://crrev.com/2786253002#ps1) #

Patch Set 2 : Create the flow thread in the normal way. Creating layout objects during layout is forbidden. #

Patch Set 3 : Skip layout of LayoutMultiColumnFlowThread. #

Patch Set 4 : Add fragments from multicol children. They were simply dropped on the floor. :) #

Patch Set 5 : No need for validateColumnSets() to update logical width (it's called AFTER layout, after all). Als… #

Patch Set 6 : Set some (bogus) size on the flow thread. 0x0 won't do. #

Patch Set 7 : Fake a flow thread portion height value. #

Total comments: 2

Patch Set 8 : rebase master #

Patch Set 9 : Back out all other changes than the ones in ng_block_node.cc #

Patch Set 10 : Allow flow threads to be created in NG too. #

Patch Set 11 : Move stuff to UpdateLegacyMultiColumnFlowThread() #

Unified diffs Side-by-side diffs Delta from patch set Stats (+30 lines, -3 lines) Patch
M third_party/WebKit/Source/core/layout/LayoutBlockFlow.cpp View 1 9 1 chunk +0 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/core/layout/ng/ng_block_node.cc View 1 2 3 4 5 6 7 8 9 10 3 chunks +30 lines, -0 lines 0 comments Download

Messages

Total messages: 14 (8 generated)
Gleb Lanbin
thank you! Do you think we can submit the change in ng_block_node.cc? Please revert the ...
3 years, 8 months ago (2017-03-31 22:33:29 UTC) #2
Gleb Lanbin
On 2017/03/31 22:33:29, Gleb Lanbin wrote: > thank you! Do you think we can submit ...
3 years, 8 months ago (2017-03-31 22:35:13 UTC) #3
mstensho (USE GERRIT)
On 2017/03/31 22:33:29, Gleb Lanbin wrote: > thank you! Do you think we can submit ...
3 years, 8 months ago (2017-04-03 10:11:00 UTC) #6
mstensho (USE GERRIT)
https://codereview.chromium.org/2786923004/diff/120001/third_party/WebKit/Source/core/layout/ng/ng_block_node.cc File third_party/WebKit/Source/core/layout/ng/ng_block_node.cc (right): https://codereview.chromium.org/2786923004/diff/120001/third_party/WebKit/Source/core/layout/ng/ng_block_node.cc#newcode244 third_party/WebKit/Source/core/layout/ng/ng_block_node.cc:244: LayoutBlockFlow* multicol = toLayoutBlockFlow(layout_box_); On 2017/03/31 22:33:29, Gleb Lanbin ...
3 years, 8 months ago (2017-04-03 10:20:11 UTC) #7
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/2786923004/200001
3 years, 8 months ago (2017-04-03 10:41:01 UTC) #11
commit-bot: I haz the power
3 years, 8 months ago (2017-04-03 12:07:26 UTC) #14
Message was sent while issue was closed.
Committed patchset #11 (id:200001) as
https://chromium.googlesource.com/chromium/src/+/46ad4aca1dbb7184ebfae2a42fb4...

Powered by Google App Engine
This is Rietveld 408576698