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

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

Issue 744493002: Let RenderTable reach table cells needing overflow recalc (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Fix layout test crash Created 6 years, 1 month 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 b701588094bd2d65590e30c140cdd675c5fa5448..99a160c15be70e1afbb2882e54a524984609250e 100644
--- a/Source/core/rendering/RenderTable.cpp
+++ b/Source/core/rendering/RenderTable.cpp
@@ -393,6 +393,16 @@ void RenderTable::simplifiedNormalFlowLayout()
}
}
+bool RenderTable::recalcChildOverflowAfterStyleChange()
+{
+ bool childrenOverflowChanged = false;
+ for (RenderTableSection* section = topSection(); section; section = sectionBelow(section)) {
+ if (section->recalcOverflowForCellsAfterStyleChange())
+ childrenOverflowChanged = true;
+ }
+ return childrenOverflowChanged;
+}
+
void RenderTable::layout()
{
ASSERT(needsLayout());

Powered by Google App Engine
This is Rietveld 408576698