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

Issue 688703003: [New Multicolumn] Add RenderMultiColumnSpannerSet. (Closed)

Created:
6 years, 1 month ago by mstensho (USE GERRIT)
Modified:
6 years, 1 month ago
CC:
blink-reviews, blink-reviews-rendering, chromiumbugtracker_adobe.com, eae+blinkwatch, jchaffraix+rendering, leviw+renderwatch, pdr+renderingwatchlist_chromium.org, zoltan1
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Project:
blink
Visibility:
Public.

Description

[New Multicolumn] Add RenderMultiColumnSpannerSet. This is in preparation for column-span:all support. This CL puts basic set renderer insertion needed by column-span:all into place. Full support for set management (cope with dynamic changes after inital layout, etc.) and actual support for layout will be introduced in follow-up CLs. Likewise for layout tests. Each column-span:all renderer needs a corresponding RenderMultiColumnSpannerSet. This means that if there's column content preceding and following the spanner, we need a RenderMultiColumnSet both before and after it (while, without spanners, there'd never be any need for more than one column set). Some extra attention is required when inserting flow thread descendants now, because we need to figure out if the renderer inserted should trigger creation of a new column set or a spanner set. Wrote some unit tests. Layout tests not possible at this time, since this CL has no (intentional) web-facing changes. BUG=347325 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=184887

Patch Set 1 #

Patch Set 2 : rebase master #

Total comments: 13

Patch Set 3 : rebase master #

Total comments: 8

Patch Set 4 : code review #

Patch Set 5 : There won't ever be any intervening non-multicol fragmentation contexts. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+468 lines, -27 lines) Patch
M Source/core/core.gypi View 1 2 2 chunks +3 lines, -0 lines 0 comments Download
M Source/core/rendering/RenderFlowThread.h View 1 chunk +2 lines, -0 lines 0 comments Download
M Source/core/rendering/RenderMultiColumnFlowThread.h View 1 2 3 5 chunks +24 lines, -6 lines 0 comments Download
M Source/core/rendering/RenderMultiColumnFlowThread.cpp View 1 2 3 4 5 chunks +94 lines, -14 lines 0 comments Download
A Source/core/rendering/RenderMultiColumnFlowThreadTest.cpp View 1 2 3 1 chunk +242 lines, -0 lines 0 comments Download
M Source/core/rendering/RenderMultiColumnSet.h View 3 chunks +4 lines, -3 lines 0 comments Download
M Source/core/rendering/RenderMultiColumnSet.cpp View 1 chunk +6 lines, -0 lines 0 comments Download
A Source/core/rendering/RenderMultiColumnSpannerSet.h View 1 chunk +43 lines, -0 lines 0 comments Download
A Source/core/rendering/RenderMultiColumnSpannerSet.cpp View 1 chunk +36 lines, -0 lines 0 comments Download
M Source/core/rendering/RenderObject.h View 1 2 3 chunks +3 lines, -1 line 0 comments Download
M Source/core/rendering/RenderObject.cpp View 1 2 2 chunks +3 lines, -1 line 0 comments Download
M Source/core/rendering/RenderPagedFlowThread.h View 1 2 3 1 chunk +3 lines, -0 lines 0 comments Download
M Source/core/rendering/RenderingTestHelper.h View 3 chunks +5 lines, -2 lines 0 comments Download

Messages

Total messages: 11 (4 generated)
mstensho (USE GERRIT)
Even smaller CL. Julien: can you take a look, please?
6 years, 1 month ago (2014-10-29 15:57:23 UTC) #2
Julien - ping for review
lgtm. The testing for containingColumnSpannerSet seems very limited and would definitely benefit from some extra ...
6 years, 1 month ago (2014-11-05 16:52:39 UTC) #3
mstensho (USE GERRIT)
https://codereview.chromium.org/688703003/diff/20001/Source/core/rendering/RenderMultiColumnFlowThread.cpp File Source/core/rendering/RenderMultiColumnFlowThread.cpp (right): https://codereview.chromium.org/688703003/diff/20001/Source/core/rendering/RenderMultiColumnFlowThread.cpp#newcode240 Source/core/rendering/RenderMultiColumnFlowThread.cpp:240: // We cannot handle immediate column set siblings (and ...
6 years, 1 month ago (2014-11-05 21:43:06 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/688703003/60001
6 years, 1 month ago (2014-11-05 21:43:48 UTC) #6
mstensho (USE GERRIT)
https://codereview.chromium.org/688703003/diff/20001/Source/core/rendering/RenderMultiColumnFlowThread.cpp File Source/core/rendering/RenderMultiColumnFlowThread.cpp (right): https://codereview.chromium.org/688703003/diff/20001/Source/core/rendering/RenderMultiColumnFlowThread.cpp#newcode273 Source/core/rendering/RenderMultiColumnFlowThread.cpp:273: // Don't allow any intervening non-multicol fragmentation contexts. The ...
6 years, 1 month ago (2014-11-05 23:16:22 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/688703003/80001
6 years, 1 month ago (2014-11-05 23:18:27 UTC) #10
commit-bot: I haz the power
6 years, 1 month ago (2014-11-06 00:26:56 UTC) #11
Message was sent while issue was closed.
Committed patchset #5 (id:80001) as 184887

Powered by Google App Engine
This is Rietveld 408576698