Index: WebCore/rendering/RenderTable.cpp |
=================================================================== |
--- WebCore/rendering/RenderTable.cpp (revision 75422) |
+++ WebCore/rendering/RenderTable.cpp (working copy) |
@@ -177,6 +177,8 @@ |
while (lastBox && lastBox->parent()->isAnonymous() && !lastBox->isTableSection() && lastBox->style()->display() != TABLE_CAPTION && lastBox->style()->display() != TABLE_COLUMN_GROUP) |
lastBox = lastBox->parent(); |
if (lastBox && lastBox->isAnonymous() && !isAfterContent(lastBox)) { |
+ if (beforeChild == lastBox) |
+ beforeChild = lastBox->firstChild(); |
lastBox->addChild(child, beforeChild); |
return; |
} |