| Index: Source/WebCore/rendering/RenderTable.cpp
|
| ===================================================================
|
| --- Source/WebCore/rendering/RenderTable.cpp (revision 115616)
|
| +++ Source/WebCore/rendering/RenderTable.cpp (working copy)
|
| @@ -158,9 +158,8 @@
|
| wrapInAnonymousSection = true;
|
|
|
| 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->parent() != this)
|
| - beforeChild = beforeChild->parent();
|
| + if (beforeChild && beforeChild->parent() != this)
|
| + beforeChild = splitAnonymousBoxesAroundChild(beforeChild);
|
|
|
| RenderBox::addChild(child, beforeChild);
|
| return;
|
|
|