Test: LayoutTests/fast/block/positioning/height-change.html
authordarin <darin@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 2 Feb 2006 08:35:12 +0000 (08:35 +0000)
committerdarin <darin@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 2 Feb 2006 08:35:12 +0000 (08:35 +0000)
commitdf3f6f1843e0606d8a6180e16cee9cec26bdc646
tree8d76ee3170f697d7a2760b5af9ae9f27faf61377
parentb734416c079c4f19910d9c2bccb262d4878fae47
    Test: LayoutTests/fast/block/positioning/height-change.html

        Reviewed by Hyatt.

        - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=6881
          Block with position:absolute bottom:0 doesn't always move when height
          of containing block changes (affects Safari RSS)

        * rendering/RenderBlock.cpp:
        (WebCore::RenderBlock::layoutBlock): Relayout positioned children if the
        block's height changed during layout.
        * rendering/render_flexbox.cpp:
        (WebCore::RenderFlexibleBox::layoutBlock): Ditto.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@12524 268f45cc-cd09-0410-ab3c-d52691b4dbfc
WebCore/ChangeLog
WebCore/rendering/RenderBlock.cpp
WebCore/rendering/render_flexbox.cpp