Source/WebCore: https://bugs.webkit.org/show_bug.cgi?id=78157
Make multi-column layout work with line grids that are outside of the multi-column
block.
Reviewed by Dan Bernstein.
Added new tests in fast/line-grid.
* rendering/LayoutState.cpp:
(WebCore::LayoutState::LayoutState):
(WebCore::LayoutState::propagateLineGridInfo):
(WebCore::LayoutState::establishLineGrid):
(WebCore):
(WebCore::LayoutState::computeLineGridPaginationOrigin):
* rendering/LayoutState.h:
(WebCore::LayoutState::LayoutState):
(WebCore::LayoutState::lineGrid):
(WebCore::LayoutState::lineGridOffset):
(WebCore::LayoutState::lineGridPaginationOrigin):
(WebCore::LayoutState::needsBlockDirectionLocationSetBeforeLayout):
(LayoutState):
* rendering/RenderBlock.cpp:
(WebCore::RenderBlock::layoutBlockChildren):
* rendering/RenderBlockLineLayout.cpp:
(WebCore::RenderBlock::layoutInlineChildren):
* rendering/RenderView.h:
(WebCore::RenderView::pushLayoutState):
* rendering/RootInlineBox.cpp:
(WebCore::RootInlineBox::lineGridSnapAdjustment):
LayoutTests: https://bugs.webkit.org/show_bug.cgi?id=78157
Make multi-column layout work with line grids that are outside of the multi-column
block.
Reviewed by Dan Bernstein.
* fast/line-grid/line-grid-into-columns.html: Added.
* platform/mac/fast/line-grid/line-grid-into-columns-expected.png: Added.
* platform/mac/fast/line-grid/line-grid-into-columns-expected.txt: Added.
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@107160
268f45cc-cd09-0410-ab3c-
d52691b4dbfc