LayoutTests:
authorantti <antti@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 13 Jun 2006 23:19:33 +0000 (23:19 +0000)
committerantti <antti@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 13 Jun 2006 23:19:33 +0000 (23:19 +0000)
commitb405a746a96e4b97c32c436aedee1b4455de12b1
tree2e2165d02a28c381d06e6604d318f1971221dd46
parent4f1ea55d73f845814112b86c8b30604759acbbcb
LayoutTests:

        Reviewed by Hyatt

        http://bugzilla.opendarwin.org/show_bug.cgi?id=9314

        * fast/block/positioning/relative-overflow-block-expected.checksum: Added.
        * fast/block/positioning/relative-overflow-block-expected.png: Added.
        * fast/block/positioning/relative-overflow-block-expected.txt: Added.
        * fast/block/positioning/relative-overflow-block.html: Added.
        * fast/block/positioning/relative-overflow-replaced-expected.checksum: Added.
        * fast/block/positioning/relative-overflow-replaced-expected.png: Added.
        * fast/block/positioning/relative-overflow-replaced-expected.txt: Added.
        * fast/block/positioning/relative-overflow-replaced-float-expected.checksum: Added.
        * fast/block/positioning/relative-overflow-replaced-float-expected.png: Added.
        * fast/block/positioning/relative-overflow-replaced-float-expected.txt: Added.
        * fast/block/positioning/relative-overflow-replaced-float.html: Added.
        * fast/block/positioning/relative-overflow-replaced.html: Added.

WebCore:

        Reviewed by Hyatt.

        http://bugzilla.opendarwin.org/show_bug.cgi?id=9314
        Relative positioned block size doesnt update root layer size

        - take relative positioning into account in leftmost/rightmost/lowestPosition()
        - ignore zero width/height boxes in leftmost/rightmost/lowestPosition()
        - split relativePositionOffset() to x and y functions

        * rendering/RenderBox.cpp:
        (WebCore::RenderBox::absolutePosition):
        (WebCore::RenderBox::relativePositionOffsetX):
        (WebCore::RenderBox::relativePositionOffsetY):
        (WebCore::RenderBox::lowestPosition):
        (WebCore::RenderBox::rightmostPosition):
        (WebCore::RenderBox::leftmostPosition):
        * rendering/RenderBox.h:
        * rendering/RenderFlow.cpp:
        (WebCore::RenderFlow::lowestPosition):
        (WebCore::RenderFlow::rightmostPosition):
        (WebCore::RenderFlow::leftmostPosition):
        * rendering/RenderLayer.cpp:
        (WebCore::RenderLayer::updateLayerPosition):
        * rendering/RenderObject.cpp:
        (WebCore::RenderObject::offsetLeft):
        (WebCore::RenderObject::offsetTop):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@14847 268f45cc-cd09-0410-ab3c-d52691b4dbfc
19 files changed:
LayoutTests/ChangeLog
LayoutTests/fast/block/positioning/relative-overflow-block-expected.checksum [new file with mode: 0644]
LayoutTests/fast/block/positioning/relative-overflow-block-expected.png [new file with mode: 0644]
LayoutTests/fast/block/positioning/relative-overflow-block-expected.txt [new file with mode: 0644]
LayoutTests/fast/block/positioning/relative-overflow-block.html [new file with mode: 0644]
LayoutTests/fast/block/positioning/relative-overflow-replaced-expected.checksum [new file with mode: 0644]
LayoutTests/fast/block/positioning/relative-overflow-replaced-expected.png [new file with mode: 0644]
LayoutTests/fast/block/positioning/relative-overflow-replaced-expected.txt [new file with mode: 0644]
LayoutTests/fast/block/positioning/relative-overflow-replaced-float-expected.checksum [new file with mode: 0644]
LayoutTests/fast/block/positioning/relative-overflow-replaced-float-expected.png [new file with mode: 0644]
LayoutTests/fast/block/positioning/relative-overflow-replaced-float-expected.txt [new file with mode: 0644]
LayoutTests/fast/block/positioning/relative-overflow-replaced-float.html [new file with mode: 0644]
LayoutTests/fast/block/positioning/relative-overflow-replaced.html [new file with mode: 0644]
WebCore/ChangeLog
WebCore/rendering/RenderBox.cpp
WebCore/rendering/RenderBox.h
WebCore/rendering/RenderFlow.cpp
WebCore/rendering/RenderLayer.cpp
WebCore/rendering/RenderObject.cpp