ASSERTION FAILED: i < size(), UNKNOWN in WebCore::RenderTableSection::layout
[WebKit-https.git] / Source / WebCore / rendering / RenderTable.cpp
index 21ccd93..497bca1 100644 (file)
@@ -154,6 +154,9 @@ void RenderTable::addChild(RenderObject* child, RenderObject* beforeChild)
     else
         wrapInAnonymousSection = true;
 
+    if (child->isTableSection())
+        setNeedsSectionRecalc();
+
     if (!wrapInAnonymousSection) {
         if (beforeChild && beforeChild->parent() != this)
             beforeChild = splitAnonymousBoxesAroundChild(beforeChild);