Index: Source/core/rendering/InlineTextBox.cpp |
diff --git a/Source/core/rendering/InlineTextBox.cpp b/Source/core/rendering/InlineTextBox.cpp |
index 60a35deccf1253ac5df7bbcae293e5ccc1ae2019..236fc24738a91f3c54eeeb0b9253dffebee47a70 100644 |
--- a/Source/core/rendering/InlineTextBox.cpp |
+++ b/Source/core/rendering/InlineTextBox.cpp |
@@ -1523,6 +1523,7 @@ TextRun InlineTextBox::constructTextRun(RenderStyle* style, const Font& font, St |
TextRun run(string, textPos(), expansion(), expansionBehavior(), direction(), dirOverride() || style->rtlOrdering() == VisualOrder, !textRenderer->canUseSimpleFontCodePath()); |
run.setTabSize(!style->collapseWhiteSpace(), style->tabSize()); |
+ run.setDistributeJustification(style->textJustify() == TextJustifyDistribute); |
if (textRunNeedsRenderingContext(font)) |
run.setRenderingContext(SVGTextRunRenderingContext::create(textRenderer)); |