• darin's avatar
    LayoutTests: · 5b1b7704
    darin authored
            Reviewed by Hyatt.
    
            - repaint test for http://bugzilla.opendarwin.org/show_bug.cgi?id=9121
              REGRESSION: [Incremental Repaint] DHTML movement test failures
    
            * fast/repaint/containing-block-position-change-expected.checksum: Added.
            * fast/repaint/containing-block-position-change-expected.png: Added.
            * fast/repaint/containing-block-position-change-expected.txt: Added.
            * fast/repaint/containing-block-position-change.html: Added.
    
    WebCore:
    
            Reviewed by Hyatt.
    
            - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=9121
              REGRESSION: [Incremental Repaint] DHTML movement test failures
    
            Test (repaint): fast/repaint/containing-block-position-change.html
    
            * manual-tests/containing-block-position-chage.html: Added.
            * rendering/RenderBlock.cpp:
            (WebCore::RenderBlock::layoutBlock): Unrelated change: fixed typo from
            the RenderCanvas to RenderView rename.
            (WebCore::RenderBlock::removePositionedObject): Added a return immediately
            after removing the object.
            (WebCore::RenderBlock::removePositionedObjects): Added.
            * rendering/RenderBlock.h:
            * rendering/RenderObject.cpp:
            (WebCore::RenderObject::setStyle): Added code to remove absolutely positioned
            descendants from the positioned objects list of their current containing block
            when they are going to have a new one as a result of this block's position
            property changing. 
            * rendering/RenderObject.h:
            (WebCore::RenderObject::removePositionedObjects):
    
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@14757 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    5b1b7704
containing-block-position-change-expected.checksum 61 Bytes