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

Issue 364233005: [New Multicolumn] Support for paged overflow. (By mstensho). (Closed)

Created:
6 years, 5 months ago by andersr
Modified:
6 years, 5 months ago
CC:
blink-reviews, blink-reviews-rendering, chromiumbugtracker_adobe.com, zoltan1, eae+blinkwatch, leviw+renderwatch, jchaffraix+rendering, pdr., rune+blink
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Project:
blink
Visibility:
Public.

Description

[New Multicolumn] Support for paged overflow. (By mstensho). This brings support for overflow-y:-webkit-paged-[xy] to the new multicol implementation. BUG=359976 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=177654

Patch Set 1 : mstensho's original patch, rebased and unchanged #

Patch Set 2 : RenderMultiColumnFlowThread can't be FINAL if there's a subclass. #

Patch Set 3 : Move some tests to the virtual test suite. #

Patch Set 4 : Remove calls to internals.settings.setRegionBasedColumnsEnabled #

Patch Set 5 : FlowThreadType, etc #

Total comments: 1

Patch Set 6 : Add column-gap comment + small readability improvement. #

Total comments: 1

Patch Set 7 : Run fast/pagination in virtual/regionbasedmulticol. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+441 lines, -34 lines) Patch
M LayoutTests/TestExpectations View 1 2 3 4 5 6 3 chunks +4 lines, -0 lines 0 comments Download
A + LayoutTests/fast/multicol/multicol-with-spanner-becomes-paged.html View 1 2 3 4 5 6 1 chunk +3 lines, -3 lines 0 comments Download
A LayoutTests/fast/multicol/multicol-with-spanner-becomes-paged-expected.html View 3 4 5 6 1 chunk +7 lines, -0 lines 0 comments Download
A + LayoutTests/fast/multicol/newmulticol/compare-with-old-impl/body-make-paginated.html View 3 4 5 1 chunk +4 lines, -0 lines 0 comments Download
A + LayoutTests/fast/multicol/newmulticol/compare-with-old-impl/body-make-paginated-expected.html View 3 4 5 0 chunks +-1 lines, --1 lines 0 comments Download
A + LayoutTests/fast/multicol/newmulticol/compare-with-old-impl/body-make-unpaginated.html View 3 4 5 1 chunk +4 lines, -0 lines 0 comments Download
A + LayoutTests/fast/multicol/newmulticol/compare-with-old-impl/body-make-unpaginated-expected.html View 3 4 5 0 chunks +-1 lines, --1 lines 0 comments Download
A + LayoutTests/fast/multicol/newmulticol/compare-with-old-impl/div-make-paginated.html View 3 4 5 1 chunk +4 lines, -0 lines 0 comments Download
A + LayoutTests/fast/multicol/newmulticol/compare-with-old-impl/div-make-paginated-expected.html View 3 4 5 0 chunks +-1 lines, --1 lines 0 comments Download
A + LayoutTests/fast/multicol/newmulticol/compare-with-old-impl/div-make-unpaginated.html View 3 4 5 1 chunk +4 lines, -0 lines 0 comments Download
A + LayoutTests/fast/multicol/newmulticol/compare-with-old-impl/div-make-unpaginated-expected.html View 3 4 5 0 chunks +-1 lines, --1 lines 0 comments Download
A + LayoutTests/fast/multicol/newmulticol/compare-with-old-impl/div-x-horizontal-bt-ltr.html View 3 4 5 1 chunk +4 lines, -0 lines 0 comments Download
A + LayoutTests/fast/multicol/newmulticol/compare-with-old-impl/div-x-horizontal-bt-ltr-expected.html View 3 4 5 0 chunks +-1 lines, --1 lines 0 comments Download
A + LayoutTests/fast/multicol/newmulticol/compare-with-old-impl/div-x-horizontal-bt-rtl.html View 3 4 5 1 chunk +4 lines, -0 lines 0 comments Download
A + LayoutTests/fast/multicol/newmulticol/compare-with-old-impl/div-x-horizontal-bt-rtl-expected.html View 3 4 5 0 chunks +-1 lines, --1 lines 0 comments Download
A + LayoutTests/fast/multicol/newmulticol/compare-with-old-impl/div-x-horizontal-tb-ltr.html View 3 4 5 1 chunk +4 lines, -0 lines 0 comments Download
A + LayoutTests/fast/multicol/newmulticol/compare-with-old-impl/div-x-horizontal-tb-ltr-expected.html View 3 4 5 0 chunks +-1 lines, --1 lines 0 comments Download
A + LayoutTests/fast/multicol/newmulticol/compare-with-old-impl/div-x-horizontal-tb-rtl.html View 3 4 5 1 chunk +4 lines, -0 lines 0 comments Download
A + LayoutTests/fast/multicol/newmulticol/compare-with-old-impl/div-x-horizontal-tb-rtl-expected.html View 3 4 5 0 chunks +-1 lines, --1 lines 0 comments Download
A + LayoutTests/fast/multicol/newmulticol/compare-with-old-impl/div-x-vertical-lr-ltr.html View 3 4 5 1 chunk +4 lines, -0 lines 0 comments Download
A + LayoutTests/fast/multicol/newmulticol/compare-with-old-impl/div-x-vertical-lr-ltr-expected.html View 3 4 5 0 chunks +-1 lines, --1 lines 0 comments Download
A + LayoutTests/fast/multicol/newmulticol/compare-with-old-impl/div-x-vertical-lr-rtl.html View 3 4 5 1 chunk +4 lines, -0 lines 0 comments Download
A + LayoutTests/fast/multicol/newmulticol/compare-with-old-impl/div-x-vertical-lr-rtl-expected.html View 3 4 5 0 chunks +-1 lines, --1 lines 0 comments Download
A + LayoutTests/fast/multicol/newmulticol/compare-with-old-impl/div-x-vertical-rl-ltr.html View 3 4 5 1 chunk +4 lines, -0 lines 0 comments Download
A + LayoutTests/fast/multicol/newmulticol/compare-with-old-impl/div-x-vertical-rl-ltr-expected.html View 3 4 5 0 chunks +-1 lines, --1 lines 0 comments Download
A + LayoutTests/fast/multicol/newmulticol/compare-with-old-impl/div-x-vertical-rl-rtl.html View 3 4 5 1 chunk +4 lines, -0 lines 0 comments Download
A + LayoutTests/fast/multicol/newmulticol/compare-with-old-impl/div-x-vertical-rl-rtl-expected.html View 3 4 5 0 chunks +-1 lines, --1 lines 0 comments Download
A + LayoutTests/fast/multicol/newmulticol/compare-with-old-impl/html-make-paginated.html View 3 4 5 1 chunk +4 lines, -0 lines 0 comments Download
A + LayoutTests/fast/multicol/newmulticol/compare-with-old-impl/html-make-paginated-expected.html View 3 4 5 0 chunks +-1 lines, --1 lines 0 comments Download
A + LayoutTests/fast/multicol/newmulticol/compare-with-old-impl/html-make-unpaginated.html View 3 4 5 1 chunk +4 lines, -0 lines 0 comments Download
A + LayoutTests/fast/multicol/newmulticol/compare-with-old-impl/html-make-unpaginated-expected.html View 3 4 5 0 chunks +-1 lines, --1 lines 0 comments Download
A + LayoutTests/fast/multicol/newmulticol/compare-with-old-impl/multicol-becomes-paged-auto-height.html View 1 2 3 4 5 1 chunk +4 lines, -2 lines 0 comments Download
A + LayoutTests/fast/multicol/newmulticol/compare-with-old-impl/multicol-becomes-paged-auto-height-expected.html View 1 2 3 4 5 1 chunk +2 lines, -2 lines 0 comments Download
A + LayoutTests/fast/multicol/newmulticol/compare-with-old-impl/multicol-becomes-paged-fixed-height.html View 1 2 3 4 5 1 chunk +6 lines, -4 lines 0 comments Download
A + LayoutTests/fast/multicol/newmulticol/compare-with-old-impl/multicol-becomes-paged-fixed-height-expected.html View 1 2 3 4 5 1 chunk +4 lines, -4 lines 0 comments Download
A + LayoutTests/fast/multicol/newmulticol/compare-with-old-impl/paged-becomes-multicol-auto-height.html View 1 2 3 4 5 1 chunk +7 lines, -5 lines 0 comments Download
A + LayoutTests/fast/multicol/newmulticol/compare-with-old-impl/paged-becomes-multicol-auto-height-expected.html View 1 2 3 4 5 1 chunk +5 lines, -5 lines 0 comments Download
A + LayoutTests/fast/multicol/newmulticol/compare-with-old-impl/paged-becomes-multicol-fixed-height.html View 1 2 3 4 5 1 chunk +7 lines, -5 lines 0 comments Download
A + LayoutTests/fast/multicol/newmulticol/compare-with-old-impl/paged-becomes-multicol-fixed-height-expected.html View 1 2 3 4 5 1 chunk +5 lines, -5 lines 0 comments Download
A + LayoutTests/fast/multicol/newmulticol/compare-with-old-impl/paged-x-to-paged-y.html View 3 4 5 1 chunk +4 lines, -0 lines 0 comments Download
A + LayoutTests/fast/multicol/newmulticol/compare-with-old-impl/paged-x-to-paged-y-expected.html View 3 4 5 0 chunks +-1 lines, --1 lines 0 comments Download
A + LayoutTests/fast/multicol/newmulticol/compare-with-old-impl/paged-y-to-paged-x.html View 3 4 5 1 chunk +4 lines, -0 lines 0 comments Download
A + LayoutTests/fast/multicol/newmulticol/compare-with-old-impl/paged-y-to-paged-x-expected.html View 3 4 5 0 chunks +-1 lines, --1 lines 0 comments Download
A + LayoutTests/fast/multicol/newmulticol/compare-with-old-impl/viewport-x-horizontal-bt-ltr.html View 3 4 5 1 chunk +4 lines, -0 lines 0 comments Download
A + LayoutTests/fast/multicol/newmulticol/compare-with-old-impl/viewport-x-horizontal-bt-ltr-expected.html View 3 4 5 0 chunks +-1 lines, --1 lines 0 comments Download
A + LayoutTests/fast/multicol/newmulticol/compare-with-old-impl/viewport-x-horizontal-bt-rtl.html View 3 4 5 1 chunk +4 lines, -0 lines 0 comments Download
A + LayoutTests/fast/multicol/newmulticol/compare-with-old-impl/viewport-x-horizontal-bt-rtl-expected.html View 3 4 5 0 chunks +-1 lines, --1 lines 0 comments Download
A + LayoutTests/fast/multicol/newmulticol/compare-with-old-impl/viewport-x-horizontal-tb-ltr.html View 3 4 5 1 chunk +4 lines, -0 lines 0 comments Download
A + LayoutTests/fast/multicol/newmulticol/compare-with-old-impl/viewport-x-horizontal-tb-ltr-expected.html View 3 4 5 0 chunks +-1 lines, --1 lines 0 comments Download
A + LayoutTests/fast/multicol/newmulticol/compare-with-old-impl/viewport-x-horizontal-tb-rtl.html View 3 4 5 1 chunk +4 lines, -0 lines 0 comments Download
A + LayoutTests/fast/multicol/newmulticol/compare-with-old-impl/viewport-x-horizontal-tb-rtl-expected.html View 3 4 5 0 chunks +-1 lines, --1 lines 0 comments Download
A + LayoutTests/fast/multicol/newmulticol/compare-with-old-impl/viewport-x-vertical-lr-ltr.html View 3 4 5 1 chunk +4 lines, -0 lines 0 comments Download
A + LayoutTests/fast/multicol/newmulticol/compare-with-old-impl/viewport-x-vertical-lr-ltr-expected.html View 3 4 5 0 chunks +-1 lines, --1 lines 0 comments Download
A + LayoutTests/fast/multicol/newmulticol/compare-with-old-impl/viewport-x-vertical-lr-rtl.html View 3 4 5 1 chunk +4 lines, -0 lines 0 comments Download
A + LayoutTests/fast/multicol/newmulticol/compare-with-old-impl/viewport-x-vertical-lr-rtl-expected.html View 3 4 5 0 chunks +-1 lines, --1 lines 0 comments Download
A + LayoutTests/fast/multicol/newmulticol/compare-with-old-impl/viewport-x-vertical-rl-ltr.html View 3 4 5 1 chunk +4 lines, -0 lines 0 comments Download
A + LayoutTests/fast/multicol/newmulticol/compare-with-old-impl/viewport-x-vertical-rl-ltr-expected.html View 3 4 5 0 chunks +-1 lines, --1 lines 0 comments Download
A + LayoutTests/fast/multicol/newmulticol/compare-with-old-impl/viewport-x-vertical-rl-rtl.html View 3 4 5 1 chunk +4 lines, -0 lines 0 comments Download
A + LayoutTests/fast/multicol/newmulticol/compare-with-old-impl/viewport-x-vertical-rl-rtl-expected.html View 3 4 5 0 chunks +-1 lines, --1 lines 0 comments Download
A + LayoutTests/fast/multicol/newmulticol/compare-with-old-impl/viewport-y-horizontal-bt-ltr.html View 3 4 5 1 chunk +4 lines, -0 lines 0 comments Download
A + LayoutTests/fast/multicol/newmulticol/compare-with-old-impl/viewport-y-horizontal-bt-ltr-expected.html View 3 4 5 0 chunks +-1 lines, --1 lines 0 comments Download
A + LayoutTests/fast/multicol/newmulticol/compare-with-old-impl/viewport-y-horizontal-bt-rtl.html View 3 4 5 1 chunk +4 lines, -0 lines 0 comments Download
A + LayoutTests/fast/multicol/newmulticol/compare-with-old-impl/viewport-y-horizontal-bt-rtl-expected.html View 3 4 5 0 chunks +-1 lines, --1 lines 0 comments Download
A + LayoutTests/fast/multicol/newmulticol/compare-with-old-impl/viewport-y-horizontal-tb-ltr.html View 3 4 5 1 chunk +4 lines, -0 lines 0 comments Download
A + LayoutTests/fast/multicol/newmulticol/compare-with-old-impl/viewport-y-horizontal-tb-ltr-expected.html View 3 4 5 0 chunks +-1 lines, --1 lines 0 comments Download
A + LayoutTests/fast/multicol/newmulticol/compare-with-old-impl/viewport-y-horizontal-tb-rtl.html View 3 4 5 1 chunk +4 lines, -0 lines 0 comments Download
A + LayoutTests/fast/multicol/newmulticol/compare-with-old-impl/viewport-y-horizontal-tb-rtl-expected.html View 3 4 5 0 chunks +-1 lines, --1 lines 0 comments Download
A + LayoutTests/fast/multicol/newmulticol/compare-with-old-impl/viewport-y-vertical-lr-ltr.html View 3 4 5 1 chunk +4 lines, -0 lines 0 comments Download
A + LayoutTests/fast/multicol/newmulticol/compare-with-old-impl/viewport-y-vertical-lr-ltr-expected.html View 3 4 5 0 chunks +-1 lines, --1 lines 0 comments Download
A + LayoutTests/fast/multicol/newmulticol/compare-with-old-impl/viewport-y-vertical-lr-rtl.html View 3 4 5 1 chunk +4 lines, -0 lines 0 comments Download
A + LayoutTests/fast/multicol/newmulticol/compare-with-old-impl/viewport-y-vertical-lr-rtl-expected.html View 3 4 5 0 chunks +-1 lines, --1 lines 0 comments Download
A + LayoutTests/fast/multicol/newmulticol/compare-with-old-impl/viewport-y-vertical-rl-ltr.html View 3 4 5 1 chunk +4 lines, -0 lines 0 comments Download
A + LayoutTests/fast/multicol/newmulticol/compare-with-old-impl/viewport-y-vertical-rl-ltr-expected.html View 3 4 5 0 chunks +-1 lines, --1 lines 0 comments Download
A + LayoutTests/fast/multicol/newmulticol/compare-with-old-impl/viewport-y-vertical-rl-rtl.html View 3 4 5 1 chunk +4 lines, -0 lines 0 comments Download
A + LayoutTests/fast/multicol/newmulticol/compare-with-old-impl/viewport-y-vertical-rl-rtl-expected.html View 3 4 5 0 chunks +-1 lines, --1 lines 0 comments Download
A LayoutTests/fast/multicol/paged-becomes-multicol-with-spanner.html View 1 2 3 4 5 6 1 chunk +30 lines, -0 lines 0 comments Download
A LayoutTests/fast/multicol/paged-becomes-multicol-with-spanner-expected.html View 1 2 3 4 5 6 1 chunk +19 lines, -0 lines 0 comments Download
A LayoutTests/fast/pagination/auto-height.html View 1 2 3 4 5 6 1 chunk +12 lines, -0 lines 0 comments Download
A LayoutTests/fast/pagination/auto-height-expected.html View 3 4 5 6 1 chunk +12 lines, -0 lines 0 comments Download
A LayoutTests/fast/pagination/auto-height-with-break.html View 1 2 3 4 5 6 1 chunk +13 lines, -0 lines 0 comments Download
A LayoutTests/fast/pagination/auto-height-with-break-expected.html View 3 4 5 6 1 chunk +9 lines, -0 lines 0 comments Download
A LayoutTests/virtual/regionbasedmulticol/fast/pagination/README.txt View 1 2 3 4 5 6 1 chunk +4 lines, -0 lines 0 comments Download
M Source/core/core.gypi View 1 2 3 4 5 1 chunk +2 lines, -0 lines 0 comments Download
M Source/core/rendering/RenderBlockFlow.h View 1 2 3 4 5 1 chunk +12 lines, -1 line 0 comments Download
M Source/core/rendering/RenderBlockFlow.cpp View 1 2 3 4 5 3 chunks +53 lines, -12 lines 0 comments Download
M Source/core/rendering/RenderFlowThread.h View 1 chunk +1 line, -0 lines 0 comments Download
M Source/core/rendering/RenderMultiColumnFlowThread.h View 1 3 chunks +11 lines, -6 lines 0 comments Download
M Source/core/rendering/RenderMultiColumnFlowThread.cpp View 2 chunks +2 lines, -1 line 0 comments Download
M Source/core/rendering/RenderMultiColumnSet.cpp View 1 2 3 4 5 8 chunks +34 lines, -11 lines 0 comments Download
A Source/core/rendering/RenderPagedFlowThread.h View 1 chunk +32 lines, -0 lines 0 comments Download
A Source/core/rendering/RenderPagedFlowThread.cpp View 1 chunk +42 lines, -0 lines 0 comments Download
M Tools/Scripts/webkitpy/layout_tests/port/base.py View 1 2 3 4 5 6 1 chunk +3 lines, -0 lines 0 comments Download

Messages

Total messages: 21 (0 generated)
andersr
6 years, 5 months ago (2014-07-03 22:04:31 UTC) #1
rune
This is https://codereview.chromium.org/295373006/ now owned by andersr. I review the current code there. Issues/comments there ...
6 years, 5 months ago (2014-07-03 22:22:17 UTC) #2
rune
https://codereview.chromium.org/364233005/diff/30090/Source/core/rendering/RenderBlockFlow.cpp File Source/core/rendering/RenderBlockFlow.cpp (right): https://codereview.chromium.org/364233005/diff/30090/Source/core/rendering/RenderBlockFlow.cpp#newcode2773 Source/core/rendering/RenderBlockFlow.cpp:2773: if ((type != NoFlowThread) && !multiColumnFlowThread()) { The blink ...
6 years, 5 months ago (2014-07-04 09:44:26 UTC) #3
andersr
The CQ bit was checked by andersr@opera.com
6 years, 5 months ago (2014-07-04 09:49:57 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/andersr@opera.com/364233005/30090
6 years, 5 months ago (2014-07-04 09:50:34 UTC) #5
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 5 months ago (2014-07-04 09:50:35 UTC) #6
commit-bot: I haz the power
No LGTM from a valid reviewer yet. Only full committers are accepted. Even if an ...
6 years, 5 months ago (2014-07-04 09:50:36 UTC) #7
andersr
On 2014/07/04 09:50:36, I haz the power (commit-bot) wrote: > No LGTM from a valid ...
6 years, 5 months ago (2014-07-04 09:55:28 UTC) #8
rune
lgtm https://codereview.chromium.org/364233005/diff/90001/Source/core/rendering/RenderBlockFlow.cpp File Source/core/rendering/RenderBlockFlow.cpp (right): https://codereview.chromium.org/364233005/diff/90001/Source/core/rendering/RenderBlockFlow.cpp#newcode2791 Source/core/rendering/RenderBlockFlow.cpp:2791: RenderMultiColumnFlowThread* flowThread = createMultiColumnFlowThread(type); Sweet.
6 years, 5 months ago (2014-07-04 12:30:53 UTC) #9
andersr
The CQ bit was checked by andersr@opera.com
6 years, 5 months ago (2014-07-04 12:35:00 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/andersr@opera.com/364233005/90001
6 years, 5 months ago (2014-07-04 12:35:20 UTC) #11
andersr
The CQ bit was unchecked by andersr@opera.com
6 years, 5 months ago (2014-07-04 13:21:10 UTC) #12
andersr
+dpranke, could you please review the changes to the virtual test suite? We need to ...
6 years, 5 months ago (2014-07-04 14:30:38 UTC) #13
rune
On 2014/07/04 14:30:38, andersr wrote: > rune: All the tests in fast/pagination passed in the ...
6 years, 5 months ago (2014-07-04 15:15:21 UTC) #14
andersr
On 2014/07/04 15:15:21, rune (futhark.irc - CET) wrote: > On 2014/07/04 14:30:38, andersr wrote: > ...
6 years, 5 months ago (2014-07-04 15:40:05 UTC) #15
jochen (gone - plz use gerrit)
base.py lgtm
6 years, 5 months ago (2014-07-08 08:47:56 UTC) #16
andersr
The CQ bit was checked by andersr@opera.com
6 years, 5 months ago (2014-07-08 08:50:04 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/andersr@opera.com/364233005/110001
6 years, 5 months ago (2014-07-08 08:50:31 UTC) #18
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: android_blink_compile_rel on tryserver.blink ...
6 years, 5 months ago (2014-07-08 09:53:43 UTC) #19
commit-bot: I haz the power
Change committed as 177654
6 years, 5 months ago (2014-07-08 10:03:37 UTC) #20
Dirk Pranke
6 years, 5 months ago (2014-07-10 21:04:01 UTC) #21
Message was sent while issue was closed.
On 2014/07/08 10:03:37, I haz the power (commit-bot) wrote:
> Change committed as 177654

For the record, the changes to base.py for the virtual test suite look good to
me.

Powered by Google App Engine
This is Rietveld 408576698