• mitz@apple.com's avatar
    WebCore: · 51017321
    mitz@apple.com authored
            Reviewed by Sam Weinig.
    
            - fix http://bugs.webkit.org/show_bug.cgi?id=17152
              Paragraphs indented with :first-letter and text-align CSS render incorrectly
    
            Test: fast/text/apply-start-width-after-skipped-text.html
    
            * rendering/bidi.cpp:
            (WebCore::RenderBlock::findNextLineBreak): Improved the logic for when
            to figure in the padding, border and margin before a text node when the
            line begins inside a text node.
    
    LayoutTests:
    
            Reviewed by Sam Weinig.
    
            - test for http://bugs.webkit.org/show_bug.cgi?id=17152
              Paragraphs indented with :first-letter and text-align CSS render incorrectly
    
            * fast/text/apply-start-width-after-skipped-text.html: Added.
            * platform/mac/fast/text/apply-start-width-after-skipped-text-expected.checksum: Added.
            * platform/mac/fast/text/apply-start-width-after-skipped-text-expected.png: Added.
            * platform/mac/fast/text/apply-start-width-after-skipped-text-expected.txt: Added.
    
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@30590 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    51017321
ChangeLog 1.25 MB