Skip to content
  • mitz@apple.com's avatar
    WebCore: · 88c7b054
    mitz@apple.com authored
            Reviewed by Darin Adler and Dave Hyatt.
    
            - eliminate excessive repainting when an object's final position
              after layout is unchanged
    
            * rendering/RenderBlock.cpp:
            (WebCore::RenderBlock::layoutBlockChildren): Removed the full repaint
            for the case that the final position is unchanged but the position at
            which an intermediate layout occurred was different. Any repainting
            done during the intermediate layout would have happened at the object's
            initial (and also final) coordinates, since layoutDelta is factored
            into repaint rect calculations.
    
    LayoutTests:
    
            Reviewed by Darin Adler.
    
            - updated pixel results for "eliminate excessive repainting when an
              object's final position after layout is unchanged"
    
            * platform/mac/fast/repaint/intermediate-layout-position-clip-expected.checksum:
            * platform/mac/fast/repaint/intermediate-layout-position-clip-expected.png:
            * platform/mac/fast/repaint/intermediate-layout-position-expected.checksum:
            * platform/mac/fast/repaint/intermediate-layout-position-expected.png:
    
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@34267 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    88c7b054