Fix for 9805, <hr> not positioned properly following a previous empty sibling
authorhyatt <hyatt@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 19 Sep 2006 06:23:39 +0000 (06:23 +0000)
committerhyatt <hyatt@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 19 Sep 2006 06:23:39 +0000 (06:23 +0000)
commite5f4bfc35d58ff200134d8ca3f7290f189292794
treef2c0c1eda744e79884a8af36ff797a324c7e6fa2
parentd7a95697b681cbc25964f20bd4b526d3f862fcb5
    Fix for 9805, <hr> not positioned properly following a previous empty sibling
        that had clear:both set on it.  Update self-collapsing block clearance
        behavior to match what is specified in the latest draft of CSS2.1.

        Reviewed by Eric

        Added fast/block/margin-collapse/empty-clear-blocks.html

        * rendering/RenderBlock.cpp:
        (WebCore::RenderBlock::clearFloatsIfNeeded):
        (WebCore::RenderBlock::handleBottomOfBlock):

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