Skip to content
  • mitz@apple.com's avatar
    WebCore: · 698099cc
    mitz@apple.com authored
            Reviewed by Darin Adler.
    
            - <http://bugs.webkit.org/show_bug.cgi?id=15890>
              Most of www.aol.com still redraws unnecessarily when headline/photo section changes
    
            Test: fast/repaint/invisible-objects.html
    
            Avoid repainting invisible blocks if they are enclosed in a layer that
            contains no visible objects.
    
            * rendering/RenderBlock.cpp:
            (WebCore::RenderBlock::layoutBlock):
            * rendering/RenderBox.cpp:
            (WebCore::RenderBox::absoluteClippedOverflowRect):
    
    LayoutTests:
    
            Reviewed by Darin Adler.
    
            - no-repaint test for <http://bugs.webkit.org/show_bug.cgi?id=15890>
              Most of www.aol.com still redraws unnecessarily when headline/photo section changes
    
            * fast/repaint/invisible-objects.html: Added.
            * platform/mac/fast/repaint/invisible-objects-expected.checksum: Added.
            * platform/mac/fast/repaint/invisible-objects-expected.png: Added.
            * platform/mac/fast/repaint/invisible-objects-expected.txt: Added.
    
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@27743 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    698099cc