Reviewed by Haytt.
authorthatcher <thatcher@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 20 Apr 2006 02:51:48 +0000 (02:51 +0000)
committerthatcher <thatcher@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 20 Apr 2006 02:51:48 +0000 (02:51 +0000)
commit7c31fbaa6e657b300fa606ab9b374e406582af14
tree62d18536fabf8900d9aae68c6bb6654dd1b27519
parenteb60c7698a43df103ddde8debe47094022ab7731
    Reviewed by Haytt.

        - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=6770
          REGRESSION: Incomplete repaint when block with clipping grows

        * manual-tests/repaint-resized-overflow.html: Added.
        * rendering/RenderLayer.cpp:
        (WebCore::RenderLayer::RenderLayer):
        (WebCore::RenderLayer::computeRepaintRects): Set the m_repaintOverflowOnResize
        flag to true if our object itself needs layout or if we're an overflow
        and have a normal child that needs layout, in which case if we end up
        resizing it will be because of the child, and that child might have not repainted
        itself correctly during its own layout.
        (WebCore::RenderLayer::updateLayerPositions): Do a full repaint if
        m_repaintOverflowOnResize is set and we resized but didn't move.
        * rendering/RenderLayer.h:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@13982 268f45cc-cd09-0410-ab3c-d52691b4dbfc
WebCore/ChangeLog
WebCore/manual-tests/repaint-resized-overflow.html [new file with mode: 0644]
WebCore/rendering/RenderLayer.cpp
WebCore/rendering/RenderLayer.h