-
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