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