Skip to content
  • mitz@apple.com's avatar
    WebCore: · 6fa3cd2c
    mitz@apple.com authored
            Reviewed by Darin Adler.
    
            - fix a bug where explicit embedding past the end of a line could
              affect text that line
    
            Test: fast/text/embed-at-end-of-pre-wrap-line.html
    
            * rendering/bidi.cpp:
            (WebCore::RenderBlock::skipWhitespace): Removed calls to
            setAdjustEmbedding().
            (WebCore::RenderBlock::findNextLineBreak): Added calls to
            setAdjustEmbedding() around skipWhitespace() only where needed.
    
    LayoutTests:
    
            Reviewed by Darin Adler.
    
            - test for a bug where explicit embedding past the end of a line could
              affect text that line
    
            * fast/text/embed-at-end-of-pre-wrap-line.html: Added.
            * platform/mac-leopard/fast/text/embed-at-end-of-pre-wrap-line-expected.checksum: Added.
            * platform/mac-leopard/fast/text/embed-at-end-of-pre-wrap-line-expected.png: Added.
            * platform/mac/fast/text/embed-at-end-of-pre-wrap-line-expected.txt: Added.
    
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@30664 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    6fa3cd2c