Index: Source/core/layout/LayoutTable.cpp |
diff --git a/Source/core/layout/LayoutTable.cpp b/Source/core/layout/LayoutTable.cpp |
index ae01460b50ad69914093e7b83218b2997be0bc7e..ac388f13b96eaf339ba2a02f6769240ce601770f 100644 |
--- a/Source/core/layout/LayoutTable.cpp |
+++ b/Source/core/layout/LayoutTable.cpp |
@@ -207,6 +207,14 @@ void LayoutTable::addChild(RenderObject* child, RenderObject* beforeChild) |
section->addChild(child); |
} |
+void LayoutTable::addChildIgnoringContinuation(RenderObject* newChild, RenderObject* beforeChild) |
+{ |
+ // Tables cannot be continuations. More importantly, we need to bypass the RenderBlock |
+ // implementation and instead do a normal addChild(), so that any missing anonymous table part |
+ // renderers are inserted. |
+ addChild(newChild, beforeChild); |
+} |
+ |
void LayoutTable::addCaption(const LayoutTableCaption* caption) |
{ |
ASSERT(m_captions.find(caption) == kNotFound); |