Fix for bug 10229, don't bother trying to clear when no floats are
authorhyatt <hyatt@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 4 Aug 2006 01:35:07 +0000 (01:35 +0000)
committerhyatt <hyatt@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 4 Aug 2006 01:35:07 +0000 (01:35 +0000)
commit9aa126bbe278165051f5d6a3e1194cf669cac30a
treecc3e7b564f096547a50584f2c0fda8cbb8b9404e
parent4cd73f6f1fd927f6a1ee8c562681308432f7cf62
    Fix for bug 10229, don't bother trying to clear when no floats are
        present.  I suspect there's still a bug in the math that follows, but
        this fix is safer in that it just does the obvious thing (and doesn't
        compute any clearance if no floats are even around).

        Reviewed by maciej

        * ChangeLog:
        * rendering/RenderBlock.cpp:
        (WebCore::RenderBlock::getClearDelta):

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