Index: Source/core/rendering/RenderTable.cpp |
diff --git a/Source/core/rendering/RenderTable.cpp b/Source/core/rendering/RenderTable.cpp |
index a5a90e380223bfb62aa2484c3ef5cabc7342914f..f9a7f75aa7eb1c10d3b1f94225e52460bcb6f763 100644 |
--- a/Source/core/rendering/RenderTable.cpp |
+++ b/Source/core/rendering/RenderTable.cpp |
@@ -393,6 +393,20 @@ void RenderTable::simplifiedNormalFlowLayout() |
} |
} |
+bool RenderTable::recalcChildOverflowAfterStyleChange() |
+{ |
+ ASSERT(childNeedsOverflowRecalcAfterStyleChange()); |
+ clearChildNeedsOverflowRecalcAfterStyleChange(); |
+ |
+ bool childrenOverflowChanged = false; |
+ for (RenderTableSection* section = topSection(); section; section = sectionBelow(section)) { |
+ if (!section->childNeedsOverflowRecalcAfterStyleChange()) |
+ continue; |
+ childrenOverflowChanged |= section->recalcChildOverflowAfterStyleChange(); |
+ } |
+ return childrenOverflowChanged; |
+} |
+ |
void RenderTable::layout() |
{ |
ASSERT(needsLayout()); |