WebCore:
authorddkilzer <ddkilzer@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 1 Jul 2006 02:51:32 +0000 (02:51 +0000)
committerddkilzer <ddkilzer@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 1 Jul 2006 02:51:32 +0000 (02:51 +0000)
commitd5f8cb3a4deeadc1322a888e65f5a3862059d2e8
treefa340318443bb2f1e6a22d2a4ddbcbad3c86bc71
parenta9efec249130bbb8cc21d51982b625f113063da0
WebCore:

        Reviewed by Hyatt.

        - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=7204
          float inserted in fixed height block via DOM not repainted

        Test: fast/repaint/float-move-during-layout.html

        * rendering/RenderBlock.cpp:
        (WebCore::RenderBlock::layoutBlockChildren):
        (WebCore::RenderBlock::repaintOverhangingFloats): Renamed repaintFloatingDescendants()
        to this and limited it to repainting overhanging floats. Added a boolean parameter that forces
        all descendant overhanging floats (that don't have their own layer) to paint.
        * rendering/RenderBlock.h:
        * rendering/RenderBox.cpp:
        (WebCore::RenderBox::repaintDuringLayoutIfMoved): Changed to paint all descendant
        floats.
        * rendering/RenderObject.cpp:
        (WebCore::RenderObject::repaintOverhangingFloats):
        * rendering/RenderObject.h:

LayoutTests:

        Reviewed by Hyatt.

        - test for http://bugzilla.opendarwin.org/show_bug.cgi?id=7204
          float inserted in fixed height block via DOM not repainted

        * fast/repaint/float-move-during-layout-expected.checksum: Added.
        * fast/repaint/float-move-during-layout-expected.png: Added.
        * fast/repaint/float-move-during-layout-expected.txt: Added.
        * fast/repaint/float-move-during-layout.html: Added.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@15121 268f45cc-cd09-0410-ab3c-d52691b4dbfc
LayoutTests/ChangeLog
LayoutTests/fast/repaint/float-move-during-layout-expected.checksum [new file with mode: 0644]
LayoutTests/fast/repaint/float-move-during-layout-expected.png [new file with mode: 0644]
LayoutTests/fast/repaint/float-move-during-layout-expected.txt [new file with mode: 0644]
LayoutTests/fast/repaint/float-move-during-layout.html [new file with mode: 0644]
WebCore/ChangeLog
WebCore/rendering/RenderBlock.cpp
WebCore/rendering/RenderBlock.h
WebCore/rendering/RenderBox.cpp
WebCore/rendering/RenderObject.cpp
WebCore/rendering/RenderObject.h