LayoutTests:
authorweinig <weinig@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 22 Feb 2007 02:58:27 +0000 (02:58 +0000)
committerweinig <weinig@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 22 Feb 2007 02:58:27 +0000 (02:58 +0000)
commitd4e153a6b700f705f153a3de40e28a3c1182214c
tree3e4b1da0241272122d4758ce3085291a6242bda2
parentd1059f5f7e235997bfb58d1b5ed50e2f9d058d92
LayoutTests:

        Reviewed by Hyatt.

        - test for http://bugs.webkit.org/show_bug.cgi?id=12818
          REGRESSION (r19148): shacknews.com does not render completely

        * fast/dynamic/staticY-marking-parents-regression-expected.checksum: Added.
        * fast/dynamic/staticY-marking-parents-regression-expected.png: Added.
        * fast/dynamic/staticY-marking-parents-regression-expected.txt: Added.
        * fast/dynamic/staticY-marking-parents-regression.html: Added.

WebCore:

        Reviewed by Hyatt.

        - fix http://bugs.webkit.org/show_bug.cgi?id=12818
          REGRESSION (r19148): shacknews.com does not render completely

        Test: fast/dynamic/staticY-marking-parents-regression.html

        Changed calls to setChildNeedsLayout(true) during layout to
        setChildNeedsLayout(true, false). Prior to r19148, the default behavior
        of marking containers did not matter because the caller was the container
        and was already marked, but r19148 added marking of the parent of
        objects with static Y, which can be different from the caller and not
        necessarily marked already.

        * rendering/RenderBlock.cpp:
        (WebCore::RenderBlock::collapseMargins):
        (WebCore::RenderBlock::clearFloatsIfNeeded):
        (WebCore::RenderBlock::layoutBlockChildren):
        * rendering/RenderBox.cpp:
        (WebCore::RenderBox::setStaticY):
        * rendering/RenderFlexibleBox.cpp:
        (WebCore::RenderFlexibleBox::layoutVerticalBox):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@19784 268f45cc-cd09-0410-ab3c-d52691b4dbfc
LayoutTests/ChangeLog
LayoutTests/fast/dynamic/staticY-marking-parents-regression-expected.checksum [new file with mode: 0644]
LayoutTests/fast/dynamic/staticY-marking-parents-regression-expected.png [new file with mode: 0644]
LayoutTests/fast/dynamic/staticY-marking-parents-regression-expected.txt [new file with mode: 0644]
LayoutTests/fast/dynamic/staticY-marking-parents-regression.html [new file with mode: 0644]
WebCore/ChangeLog
WebCore/rendering/RenderBlock.cpp
WebCore/rendering/RenderBox.cpp
WebCore/rendering/RenderFlexibleBox.cpp