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

Unified Diff: Source/core/layout/LayoutTable.cpp

Issue 918703002: Re-add markForPaginationRelayoutIfNeeded() for all table children. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « LayoutTests/TestExpectations ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/layout/LayoutTable.cpp
diff --git a/Source/core/layout/LayoutTable.cpp b/Source/core/layout/LayoutTable.cpp
index 8472d3558c24364310645d3edef09f4f44b639ea..cc39f4b65bf4c9b14a17bfb7a1c5a350d26f38aa 100644
--- a/Source/core/layout/LayoutTable.cpp
+++ b/Source/core/layout/LayoutTable.cpp
@@ -460,6 +460,8 @@ void LayoutTable::layout()
bool collapsing = collapseBorders();
for (LayoutObject* child = firstChild(); child; child = child->nextSibling()) {
+ if (!child->needsLayout() && child->isBox())
+ toRenderBox(child)->markForPaginationRelayoutIfNeeded(layouter);
if (child->isTableSection()) {
LayoutTableSection* section = toLayoutTableSection(child);
if (m_columnLogicalWidthChanged)
« no previous file with comments | « LayoutTests/TestExpectations ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698