LayoutTests:
authorantti <antti@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 10 Apr 2007 21:44:53 +0000 (21:44 +0000)
committerantti <antti@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 10 Apr 2007 21:44:53 +0000 (21:44 +0000)
commit7a721999777268c78895cd2ef5eed96a1247ad47
tree7512c0fb36c4801637bc92a7ba8854ca4fd5bb64
parent14a6912a5b05fc3c8724d40df6bd4ad334772341
LayoutTests:

        Reviewed by Hyatt.

        Layout test for <rdar://5057686>
        Flex box layout example hangs in WebCore::RenderFlexibleBox::allowedChildFlex

        * fast/flexbox/flex-hang-expected.checksum: Added.
        * fast/flexbox/flex-hang-expected.png: Added.
        * fast/flexbox/flex-hang-expected.txt: Added.
        * fast/flexbox/flex-hang.html: Added.

WebCore:

        Reviewed by Hyatt.

        Fix <rdar://5057686>
        Flex box layout example hangs in WebCore::RenderFlexibleBox::allowedChildFlex

        Forcibly distribute remaining pixels if the algorithm is not advancing.

        * rendering/RenderFlexibleBox.cpp:
        (WebCore::RenderFlexibleBox::layoutHorizontalBox):
        (WebCore::RenderFlexibleBox::layoutVerticalBox):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@20834 268f45cc-cd09-0410-ab3c-d52691b4dbfc
LayoutTests/ChangeLog
LayoutTests/fast/flexbox/flex-hang-expected.checksum [new file with mode: 0644]
LayoutTests/fast/flexbox/flex-hang-expected.png [new file with mode: 0644]
LayoutTests/fast/flexbox/flex-hang-expected.txt [new file with mode: 0644]
LayoutTests/fast/flexbox/flex-hang.html [new file with mode: 0644]
WebCore/ChangeLog
WebCore/rendering/RenderFlexibleBox.cpp