Index: Source/core/rendering/RenderTable.cpp |
=================================================================== |
--- Source/core/rendering/RenderTable.cpp (revision 187859) |
+++ Source/core/rendering/RenderTable.cpp (working copy) |
@@ -389,6 +389,11 @@ |
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) |
+ caption->layoutIfNeeded(); |
+ |
for (RenderTableSection* section = topSection(); section; section = sectionBelow(section)) { |
section->layoutIfNeeded(); |
section->computeOverflowFromCells(); |