Fix for 3867545, finance.yahoo.com lays out incorrectly. Add a quirk that will...
authorhyatt <hyatt@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 10 Dec 2004 01:38:04 +0000 (01:38 +0000)
committerhyatt <hyatt@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 10 Dec 2004 01:38:04 +0000 (01:38 +0000)
commit6c1c7ffba998674da9bcf7d3132d353fc37c0102
tree7ba567c6607b719303b64386fe2004a0b7ae4b0d
parentbdc605a7ac4c23631d4821076ee789d4bd8bfb88
Fix for 3867545, finance.yahoo.com lays out incorrectly.  Add a quirk that will prevent tables from moving
down below floats when there is insufficient space.  Instead we will match Gecko and just spill out of the
containing block to the right.  This appears to be the more common desired behavior, despite being wrong.
WinIE sometimes wraps and sometimes doesn't, but it's really hard for us to match its inconsistency.

        Reviewed by john

        * khtml/rendering/render_block.cpp:
        (khtml::RenderBlock::getClearDelta):
        * layout-tests/apple-only/base/www.cnn.com/index-expected.txt:
        * layout-tests/apple-only/base/www.ebay.com/index-expected.txt:
        * layout-tests/apple-only/base/www.excite.com/index-expected.txt:
        * layout-tests/fast/block/margin-collapse/102-expected.txt:
        * layout-tests/fast/block/margin-collapse/102.html:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@8174 268f45cc-cd09-0410-ab3c-d52691b4dbfc
LayoutTests/fast/block/float/tableshifting.html [new file with mode: 0644]
LayoutTests/fast/block/margin-collapse/102-expected.txt
LayoutTests/fast/block/margin-collapse/102.html
WebCore/ChangeLog-2005-08-23
WebCore/khtml/misc/htmlattrs.c
WebCore/khtml/misc/htmltags.c
WebCore/khtml/rendering/render_block.cpp