Skip to content
  • mitz@apple.com's avatar
    WebCore: · 25beac6d
    mitz@apple.com authored
            Reviewed by Darin Adler.
    
            - fix float positioning when a float that does not fit on the line is
              followed by a float that does
    
            Test: fast/block/float/narrow-after-wide.html
    
            * rendering/bidi.cpp:
            (WebCore::RenderBlock::findNextLineBreak): Changed to not position any
            more floats on the line once a float that does not fit is encountered.
            That float should be pushed to the next line, and so should all floats
            that follow, regardless of whether they can fit on the current line.
    
    LayoutTests:
    
            Reviewed by Darin Adler.
    
            - test float positioning when a float that does not fit on the line is
              followed by a float that does
    
            * fast/block/float/narrow-after-wide.html: Added.
            * platform/mac/fast/block/float/narrow-after-wide-expected.checksum: Added.
            * platform/mac/fast/block/float/narrow-after-wide-expected.png: Added.
            * platform/mac/fast/block/float/narrow-after-wide-expected.txt: Added.
    
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@30551 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    25beac6d