| Index: Source/WebCore/rendering/RenderTable.cpp
|
| ===================================================================
|
| --- Source/WebCore/rendering/RenderTable.cpp (revision 78123)
|
| +++ Source/WebCore/rendering/RenderTable.cpp (working copy)
|
| @@ -162,7 +162,7 @@
|
|
|
| if (!wrapInAnonymousSection) {
|
| // If the next renderer is actually wrapped in an anonymous table section, we need to go up and find that.
|
| - while (beforeChild && !beforeChild->isTableSection() && !beforeChild->isTableCol() && beforeChild->style()->display() != TABLE_CAPTION)
|
| + while (beforeChild && beforeChild->parent() != this)
|
| beforeChild = beforeChild->parent();
|
|
|
| RenderBox::addChild(child, beforeChild);
|
|
|