WebCore:
authormitz@apple.com <mitz@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 13 Nov 2007 04:53:31 +0000 (04:53 +0000)
committermitz@apple.com <mitz@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 13 Nov 2007 04:53:31 +0000 (04:53 +0000)
commita01d1ce10e4e82dac3836a32c216cbb0d2d0971c
tree03f213c02895140e51b660120bf1d9893ca1c76d
parent0d18f9a4e9ba66aa8d729ff2216fc2dc8cdf54f7
WebCore:

        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: https://svn.webkit.org/repository/webkit/trunk@27743 268f45cc-cd09-0410-ab3c-d52691b4dbfc
LayoutTests/ChangeLog
LayoutTests/fast/repaint/invisible-objects.html [new file with mode: 0644]
LayoutTests/platform/mac/fast/repaint/invisible-objects-expected.checksum [new file with mode: 0644]
LayoutTests/platform/mac/fast/repaint/invisible-objects-expected.png [new file with mode: 0644]
LayoutTests/platform/mac/fast/repaint/invisible-objects-expected.txt [new file with mode: 0644]
WebCore/ChangeLog
WebCore/WebCore.xcodeproj/project.pbxproj
WebCore/rendering/RenderBlock.cpp
WebCore/rendering/RenderBox.cpp