• mitz@apple.com's avatar
    WebCore: · 3fce1b33
    mitz@apple.com authored
            Reviewed by Dave Hyatt.
    
            - fix <rdar://problem/6059648> Some content not visible when the window is short at courtneyalbright.com
    
            Test: fast/overflow/float-in-relpositioned.html
    
            * rendering/RenderBlock.cpp:
            (WebCore::RenderBlock::lowestPosition): Add this block's relative offset
            to floats' and positioned objects' lowest position.
            (WebCore::RenderBlock::rightmostPosition): Ditto.
            (WebCore::RenderBlock::leftmostPosition): Ditto.
            * rendering/RenderBox.cpp:
            (WebCore::RenderBox::lowestPosition): Removed redundant test.
            (WebCore::RenderBox::rightmostPosition): Ditto.
            (WebCore::RenderBox::leftmostPosition): Ditto.
    
    LayoutTests:
    
            Reviewed by Dave Hyatt.
    
            - test, updated test and results for <rdar://problem/6059648> Some content not visible when the window is short at courtneyalbright.com
    
            * fast/overflow/float-in-relpositioned.html: Added.
            * fast/repaint/containing-block-position-change.html: Changed to avoid
            a full repaint due to a scroll bar appearing.
            * platform/mac/fast/clip/015-expected.txt:
            * platform/mac/fast/overflow/float-in-relpositioned-expected.checksum: Added.
            * platform/mac/fast/overflow/float-in-relpositioned-expected.png: Added.
            * platform/mac/fast/overflow/float-in-relpositioned-expected.txt: Added.
            * platform/mac/fast/repaint/clipped-relative-expected.txt:
    
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@35427 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    3fce1b33
RenderBlock.cpp 181 KB