| Index: Source/WebCore/rendering/RenderTableRow.cpp
|
| ===================================================================
|
| --- Source/WebCore/rendering/RenderTableRow.cpp (revision 115616)
|
| +++ Source/WebCore/rendering/RenderTableRow.cpp (working copy)
|
| @@ -118,11 +118,10 @@
|
| cell->addChild(child);
|
| return;
|
| }
|
| -
|
| - // If the next renderer is actually wrapped in an anonymous table cell, we need to go up and find that.
|
| - while (beforeChild && beforeChild->parent() != this)
|
| - beforeChild = beforeChild->parent();
|
|
|
| + if (beforeChild && beforeChild->parent() != this)
|
| + beforeChild = splitAnonymousBoxesAroundChild(beforeChild);
|
| +
|
| RenderTableCell* cell = toRenderTableCell(child);
|
|
|
| // Generated content can result in us having a null section so make sure to null check our parent.
|
|
|