Index: WebCore/rendering/RenderTableRow.cpp |
=================================================================== |
--- WebCore/rendering/RenderTableRow.cpp (revision 75422) |
+++ WebCore/rendering/RenderTableRow.cpp (working copy) |
@@ -73,7 +73,9 @@ |
if (!last) |
last = lastChild(); |
if (last && last->isAnonymous() && last->isTableCell()) { |
- last->addChild(child, child->isBeforeContent() ? last->firstChild() : 0); |
+ if (beforeChild == last) |
+ beforeChild = last->firstChild(); |
+ last->addChild(child, beforeChild); |
return; |
} |