Skip to content
  • 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-posit...
    3fce1b33