• ap's avatar
    Reviewed by Hyatt. · 932806a9
    ap authored
            Fix for http://bugzilla.opendarwin.org/show_bug.cgi?id=10842
            REGRESSION (r15418): contenteditable div truncates rightmost Japanese character
            
            Make sure we only break after a space (and not any other valid line-break) if
            the style is -webkit-line-break: after-white-space (e.g. for a contentEditable div).
            I also did a logic shuffle at Mitz's request to prevent doing an if on the same expression
            twice in quick succession.
    
            Test: fast/text/line-breaks-after-white-space.html
    
            * rendering/bidi.cpp:
            (WebCore::RenderBlock::findNextLineBreak): 
    
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@16696 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    932806a9
ChangeLog 1.2 MB
The source could not be displayed because it is larger than 1 MB. You can load it anyway or download it instead.