| Index: Source/WebCore/rendering/RenderBlock.cpp
|
| ===================================================================
|
| --- Source/WebCore/rendering/RenderBlock.cpp (revision 109425)
|
| +++ Source/WebCore/rendering/RenderBlock.cpp (working copy)
|
| @@ -491,6 +491,14 @@
|
| if (beforeChild && childrenInline())
|
| deleteLineBoxTree();
|
|
|
| + // We have to remove the descendant child from our positioned objects list
|
| + // before we do the split and move some of the children to cloneBlock. Since
|
| + // we are doing layout anyway, it is easier to blow away the entire list, than
|
| + // traversing down the subtree looking for positioned childs and then remove them
|
| + // from our positioned objects list.
|
| + if (beforeChild)
|
| + removePositionedObjects(0);
|
| +
|
| // Now take all of the children from beforeChild to the end and remove
|
| // them from |this| and place them in the clone.
|
| moveChildrenTo(cloneBlock, beforeChild, 0, true);
|
|
|