|
[New multicol] Eliminate the need for RenderMultiColumnBlock.
Having a distinct renderer for multicol is problematic, both
table cells and list items may become multicol containers. Also,
if we want to use the new multicol implementation to do
pagination, we need RenderView to be able to do multicol as well.
Moved most of the logic over to RenderMultiColumnFlowThread, but some
hooks are needed in RenderBlockFlow as well.
This is based on work by hyatt@apple.com in WebKit. Original patches:
https://bugs.webkit.org/show_bug.cgi?id=127365
https://bugs.webkit.org/show_bug.cgi?id=127565
Added Layout tests for multicol list-item and table-cell.
Also added tests for turning a regular block into multicol, and back into a
regular block (passed before, passes now).
BUG=none
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=167891
Total comments: 8
Total comments: 5
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+368 lines, -323 lines) |
Patch |
|
A |
LayoutTests/fast/multicol/newmulticol/list-item.html
|
View
|
|
1 chunk |
+21 lines, -0 lines |
0 comments
|
Download
|
|
A |
LayoutTests/fast/multicol/newmulticol/list-item-expected.html
|
View
|
|
1 chunk |
+14 lines, -0 lines |
0 comments
|
Download
|
|
A |
LayoutTests/fast/multicol/newmulticol/multicol-becomes-regular-block.html
|
View
|
|
1 chunk |
+25 lines, -0 lines |
0 comments
|
Download
|
|
A |
LayoutTests/fast/multicol/newmulticol/multicol-becomes-regular-block-expected.html
|
View
|
|
1 chunk |
+15 lines, -0 lines |
0 comments
|
Download
|
|
A |
LayoutTests/fast/multicol/newmulticol/regular-block-becomes-multicol.html
|
View
|
|
1 chunk |
+27 lines, -0 lines |
2 comments
|
Download
|
|
A |
LayoutTests/fast/multicol/newmulticol/regular-block-becomes-multicol-expected.html
|
View
|
|
1 chunk |
+21 lines, -0 lines |
0 comments
|
Download
|
|
A |
LayoutTests/fast/multicol/newmulticol/table-cell.html
|
View
|
|
1 chunk |
+21 lines, -0 lines |
2 comments
|
Download
|
|
A |
LayoutTests/fast/multicol/newmulticol/table-cell-expected.html
|
View
|
|
1 chunk |
+12 lines, -0 lines |
0 comments
|
Download
|
|
M |
Source/core/core.gypi
|
View
|
|
1 chunk |
+0 lines, -2 lines |
0 comments
|
Download
|
|
M |
Source/core/rendering/RenderBlock.h
|
View
|
|
1 chunk |
+0 lines, -3 lines |
0 comments
|
Download
|
|
M |
Source/core/rendering/RenderBlock.cpp
|
View
|
|
1 chunk |
+0 lines, -3 lines |
0 comments
|
Download
|
|
M |
Source/core/rendering/RenderBlockFlow.h
|
View
|
|
7 chunks |
+14 lines, -1 line |
0 comments
|
Download
|
|
M |
Source/core/rendering/RenderBlockFlow.cpp
|
View
|
1
|
6 chunks |
+57 lines, -5 lines |
1 comment
|
Download
|
|
D |
Source/core/rendering/RenderMultiColumnBlock.h
|
View
|
|
1 chunk |
+0 lines, -85 lines |
0 comments
|
Download
|
|
D |
Source/core/rendering/RenderMultiColumnBlock.cpp
|
View
|
|
1 chunk |
+0 lines, -200 lines |
0 comments
|
Download
|
|
M |
Source/core/rendering/RenderMultiColumnFlowThread.h
|
View
|
|
2 chunks |
+18 lines, -1 line |
0 comments
|
Download
|
|
M |
Source/core/rendering/RenderMultiColumnFlowThread.cpp
|
View
|
|
4 chunks |
+108 lines, -6 lines |
0 comments
|
Download
|
|
M |
Source/core/rendering/RenderMultiColumnSet.h
|
View
|
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
|
M |
Source/core/rendering/RenderMultiColumnSet.cpp
|
View
|
|
11 chunks |
+13 lines, -13 lines |
0 comments
|
Download
|
|
M |
Source/core/rendering/RenderObject.h
|
View
|
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
|
M |
Source/core/rendering/RenderObject.cpp
|
View
|
|
2 chunks |
+0 lines, -3 lines |
0 comments
|
Download
|
Total messages: 15 (0 generated)
|