Reviewed by Beth.
<rdar://problem/4056100> REGRESSION (Tiger): Deleting top part of reply email leaves fails to clear text at end of message The problem was triggered by the fact that the parent div was changing both in position and in height. The renderer normally bifurcates its logic for x-position changes vs height changes. Call repaintDuringLayoutIfMoved() with old rect (incl. width and height) instead of just the old position. Test added: * manual-tests/delete-into-nested-block.html * rendering/RenderBlock.cpp: (WebCore::RenderBlock::layoutBlockChildren): (WebCore::RenderBlock::positionNewFloats): * rendering/RenderBox.cpp: (WebCore::RenderBox::repaintDuringLayoutIfMoved): * rendering/RenderBox.h: * rendering/RenderFlexibleBox.cpp: (WebCore::RenderFlexibleBox::placeChild): * rendering/RenderObject.cpp: (WebCore::RenderObject::repaintDuringLayoutIfMoved): * rendering/RenderObject.h: * rendering/RenderTableSection.cpp: (WebCore::RenderTableSection::layoutRows): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@17824 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Showing with 68 additions and 23 deletions