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

Unified Diff: Source/core/rendering/RenderTable.cpp

Issue 194713009: Make sure table cells are laid out again when fragmentainer height changes. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Use the old multicol implementation in the tests. The new one has a bug that needs to be fixed befo… Created 6 years, 9 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
Index: Source/core/rendering/RenderTable.cpp
diff --git a/Source/core/rendering/RenderTable.cpp b/Source/core/rendering/RenderTable.cpp
index acc0f32b06482ffe1bc4c8592221b0677cbafdcf..d1b9224182b08c687bd278fb49459584927c19e7 100644
--- a/Source/core/rendering/RenderTable.cpp
+++ b/Source/core/rendering/RenderTable.cpp
@@ -458,6 +458,8 @@ void RenderTable::layout()
bool collapsing = collapseBorders();
for (RenderObject* child = firstChild(); child; child = child->nextSibling()) {
+ if (!child->needsLayout() && child->isBox())
+ toRenderBox(child)->markForPaginationRelayoutIfNeeded(layouter);
Julien - ping for review 2014/03/12 15:58:23 I would rather push have this moved under the isTa
mstensho (USE GERRIT) 2014/03/13 08:26:48 You need it for captions too. The comment in the c
if (child->isTableSection()) {
RenderTableSection* section = toRenderTableSection(child);
if (m_columnLogicalWidthChanged)

Powered by Google App Engine
This is Rietveld 408576698