Skip to content
  • hyatt@apple.com's avatar
    WebCore: · d0cd2fb8
    hyatt@apple.com authored
    2009-03-16  David Hyatt  <hyatt@apple.com>
    
            <rdar://problem/6648411> REGRESSION: Layout of page is wrong at http://www.popcap.com/
    
            Make sure that the initial shouldPaint check that looks at enclosingLayers properly skips over
            layers that don't paint themselves.  This is done by adding a new boolean parameter to enclosingLayer
            so that RenderObjects can walk up the enclosing layer chain and skip any layers that don't paint
            themselves.
    
            Reviewed by Darin Adler.
    
            Added fast/block/float/overlapping-floats-with-overflow-hidden.html
    
            * WebCore.base.exp:
            * rendering/RenderBlock.cpp:
            (WebCore::RenderBlock::addOverhangingFloats):
            * rendering/RenderObject.cpp:
            (WebCore::RenderObject::enclosingSelfPaintingLayer):
            * rendering/RenderObject.h:
    
    LayoutTests:
    
    2009-03-16  David Hyatt  <hyatt@apple.com>
    
            <rdar://problem/6648411> REGRESSION: Layout of page is wrong at http://www.popcap.com/
    
            Make sure that the initial shouldPaint check that looks at enclosingLayers properly skips over
            layers that don't paint themselves.  This is done by adding a new enclosingSelfPaintingLayer method
            so that RenderObjects can walk up the enclosing layer chain and skip any layers that don't paint
            themselves.
    
            Reviewed by Darin Adler.
    
            * fast/block/float/overlapping-floats-with-overflow-hidden.html: Added.
            * platform/mac/fast/block/float/overlapping-floats-with-overflow-hidden-expected.checksum: Added.
            * platform/mac/fast/block/float/overlapping-floats-with-overflow-hidden-expected.png: Added.
            * platform/mac/fast/block/float/overlapping-floats-with-overflow-hidden-expected.txt: Added.
    
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@41769 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    d0cd2fb8