Index: Source/core/rendering/InlineTextBox.cpp |
diff --git a/Source/core/rendering/InlineTextBox.cpp b/Source/core/rendering/InlineTextBox.cpp |
index c5eff52094f0522dfb3d31262b97788995e9e592..405e017ad37dae79fbd241530fa61240663efecf 100644 |
--- a/Source/core/rendering/InlineTextBox.cpp |
+++ b/Source/core/rendering/InlineTextBox.cpp |
@@ -1543,6 +1543,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)); |