Index: Source/core/rendering/RenderTable.cpp |
diff --git a/Source/core/rendering/RenderTable.cpp b/Source/core/rendering/RenderTable.cpp |
index 81d33641eeeffb0f9723f0eb3509c4dbc3457edd..09e865cdb112c6be49e2dd2bb34bfc830d4b704d 100644 |
--- a/Source/core/rendering/RenderTable.cpp |
+++ b/Source/core/rendering/RenderTable.cpp |
@@ -387,6 +387,11 @@ void RenderTable::distributeExtraLogicalHeight(int extraLogicalHeight) |
void RenderTable::simplifiedNormalFlowLayout() |
{ |
+ // FIXME: We should walk through the items in the tree in tree order to do the layout here |
+ // instead of walking through individual parts of the tree. crbug.com/442737 |
+ for (auto& caption : m_captions) |
+ layoutCaption(*caption); |
mstensho (USE GERRIT)
2014/12/17 19:03:07
This would become the only place in the engine whe
|
+ |
for (RenderTableSection* section = topSection(); section; section = sectionBelow(section)) { |
section->layoutIfNeeded(); |
section->computeOverflowFromCells(); |