Index: Source/core/rendering/RenderBlockLineLayout.cpp |
diff --git a/Source/core/rendering/RenderBlockLineLayout.cpp b/Source/core/rendering/RenderBlockLineLayout.cpp |
index 133a1df3a2906472a631fdb87e170ed699698bfc..2bdbe2d8814a979da92f732d55f793eb59700188 100644 |
--- a/Source/core/rendering/RenderBlockLineLayout.cpp |
+++ b/Source/core/rendering/RenderBlockLineLayout.cpp |
@@ -568,7 +568,7 @@ void RenderBlockFlow::computeInlineDirectionPositionsForLine(RootInlineBox* line |
computeInlineDirectionPositionsForSegment(lineBox, lineInfo, textAlign, lineLogicalLeft, availableLogicalWidth, firstRun, trailingSpaceRun, textBoxDataMap, verticalPositionCache, wordMeasurements); |
// The widths of all runs are now known. We can now place every inline box (and |
// compute accurate widths for the inline flow boxes). |
- needsWordSpacing = false; |
+ needsWordSpacing = lineBox->isLeftToRightDirection() ? false: true; |
lineBox->placeBoxesInInlineDirection(lineLogicalLeft, needsWordSpacing); |
} |