WebCore:
authorhyatt@apple.com <hyatt@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 27 Mar 2009 18:02:18 +0000 (18:02 +0000)
committerhyatt@apple.com <hyatt@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 27 Mar 2009 18:02:18 +0000 (18:02 +0000)
commitdc807c2feffdb6dc0b00e547200bc698749c184d
treeec4d65d2e26de9ea5947fd29d0b227786a2eed99
parent1730fcf59b8b33846fb7010a08ffebdb515ced9c
WebCore:

2009-03-27  David Hyatt  <hyatt@apple.com>

        Reviewed by Simon Fraser

        If an object has a self-painting layer, don't count it as part of a block's visual overflow.
        This fix has only been made for block-level children.   The inline-level case is still broken
        (and covered by an existing bug).

        Added fast/block/positioning/negative-rel-position.html

        * rendering/InlineFlowBox.cpp:
        (WebCore::InlineFlowBox::placeBoxesVertically):
        * rendering/RenderBlock.cpp:
        (WebCore::RenderBlock::layoutBlockChildren):
        (WebCore::RenderBlock::lowestPosition):
        (WebCore::RenderBlock::rightmostPosition):
        (WebCore::RenderBlock::leftmostPosition):

LayoutTests:

2009-03-27  David Hyatt  <hyatt@apple.com>

        Reviewed by Simon Fraser

        Test case for relative positioning bug.

        * fast/block/positioning/negative-rel-position.html: Added.
        * platform/mac/fast/block/positioning/negative-rel-position-expected.checksum: Added.
        * platform/mac/fast/block/positioning/negative-rel-position-expected.png: Added.
        * platform/mac/fast/block/positioning/negative-rel-position-expected.txt: Added.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@42043 268f45cc-cd09-0410-ab3c-d52691b4dbfc
LayoutTests/ChangeLog
LayoutTests/fast/block/positioning/negative-rel-position.html [new file with mode: 0644]
LayoutTests/platform/mac/fast/block/positioning/002-expected.txt
LayoutTests/platform/mac/fast/block/positioning/negative-rel-position-expected.checksum [new file with mode: 0644]
LayoutTests/platform/mac/fast/block/positioning/negative-rel-position-expected.png [new file with mode: 0644]
LayoutTests/platform/mac/fast/block/positioning/negative-rel-position-expected.txt [new file with mode: 0644]
LayoutTests/platform/mac/fast/block/positioning/relative-overflow-block-expected.txt
LayoutTests/platform/mac/fast/transforms/transforms-with-opacity-expected.txt
WebCore/ChangeLog
WebCore/rendering/InlineFlowBox.cpp
WebCore/rendering/RenderBlock.cpp