| Index: Source/core/rendering/RenderText.cpp
|
| diff --git a/Source/core/rendering/RenderText.cpp b/Source/core/rendering/RenderText.cpp
|
| index 829758b217ec07f5586e868d935ac68a657925c0..e7ce4d78727ccb343fb20c2ee1b1126887a8a3c5 100644
|
| --- a/Source/core/rendering/RenderText.cpp
|
| +++ b/Source/core/rendering/RenderText.cpp
|
| @@ -1020,6 +1020,8 @@ void RenderText::computePreferredLogicalWidths(float leadWidth, HashSet<const Si
|
| }
|
| }
|
|
|
| + // Terminate word boundary at bidi run boundary.
|
| + j = min(j, run->stop());
|
| int wordLen = j - i;
|
| if (wordLen) {
|
| bool isSpace = (j < len) && c == ' ';
|
|
|