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

Issue 2528203002: [LayoutNG] Correct inline size for children of multicol containers. (Closed)

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

Description

[LayoutNG] Correct inline size for children of multicol containers. This will lay out multicol containers in one single tall column, without any support for fragmentation or column balancing. Also had to disable creation of the anonymous LayoutMultiColumnFlowThread child of multicol containers, since that's not going to be used in LayoutNG. The algorithm for calculating the used values of column-width and column-count can be found here: https://drafts.csswg.org/css-multicol-1/#pseudo-algorithm Committed: https://crrev.com/620f2fc2f3543cff1678c4137fc86c198d55e9e3 Cr-Commit-Position: refs/heads/master@{#434971}

Patch Set 1 #

Total comments: 4
Unified diffs Side-by-side diffs Delta from patch set Stats (+139 lines, -0 lines) Patch
M third_party/WebKit/Source/core/layout/LayoutBlockFlow.cpp View 2 chunks +4 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/layout/ng/ng_block_layout_algorithm.cc View 1 chunk +5 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/layout/ng/ng_length_utils.h View 1 chunk +18 lines, -0 lines 2 comments Download
M third_party/WebKit/Source/core/layout/ng/ng_length_utils.cc View 1 chunk +47 lines, -0 lines 2 comments Download
M third_party/WebKit/Source/core/layout/ng/ng_length_utils_test.cc View 1 chunk +65 lines, -0 lines 0 comments Download

Messages

Total messages: 11 (5 generated)
mstensho (USE GERRIT)
4 years ago (2016-11-25 21:02:09 UTC) #2
ikilpatrick
lgtm https://codereview.chromium.org/2528203002/diff/1/third_party/WebKit/Source/core/layout/ng/ng_length_utils.cc File third_party/WebKit/Source/core/layout/ng/ng_length_utils.cc (right): https://codereview.chromium.org/2528203002/diff/1/third_party/WebKit/Source/core/layout/ng/ng_length_utils.cc#newcode231 third_party/WebKit/Source/core/layout/ng/ng_length_utils.cc:231: int ResolveUsedColumnCount(int computed_count, would it be better to ...
4 years ago (2016-11-28 17:12:46 UTC) #4
mstensho (USE GERRIT)
https://codereview.chromium.org/2528203002/diff/1/third_party/WebKit/Source/core/layout/ng/ng_length_utils.cc File third_party/WebKit/Source/core/layout/ng/ng_length_utils.cc (right): https://codereview.chromium.org/2528203002/diff/1/third_party/WebKit/Source/core/layout/ng/ng_length_utils.cc#newcode231 third_party/WebKit/Source/core/layout/ng/ng_length_utils.cc:231: int ResolveUsedColumnCount(int computed_count, On 2016/11/28 17:12:46, ikilpatrick wrote: > ...
4 years ago (2016-11-28 19:30:29 UTC) #5
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/2528203002/1
4 years ago (2016-11-29 11:44:54 UTC) #7
commit-bot: I haz the power
Committed patchset #1 (id:1)
4 years ago (2016-11-29 13:21:14 UTC) #9
commit-bot: I haz the power
4 years ago (2016-11-29 13:23:56 UTC) #11
Message was sent while issue was closed.
Patchset 1 (id:??) landed as
https://crrev.com/620f2fc2f3543cff1678c4137fc86c198d55e9e3
Cr-Commit-Position: refs/heads/master@{#434971}

Powered by Google App Engine
This is Rietveld 408576698