Index: Source/core/rendering/InlineTextBox.cpp |
diff --git a/Source/core/rendering/InlineTextBox.cpp b/Source/core/rendering/InlineTextBox.cpp |
index 147733f6e5e9c2866b1972466acd9e7d7a515d74..5c230a4eae39a02479a1dc83aeb609738f5efc4f 100644 |
--- a/Source/core/rendering/InlineTextBox.cpp |
+++ b/Source/core/rendering/InlineTextBox.cpp |
@@ -1540,6 +1540,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.setCharacterScanForCodePath(!textRenderer().canUseSimpleFontCodePath()); |
+ run.setDistributeJustification(style->textJustify() == TextJustifyDistribute); |
if (textRunNeedsRenderingContext(font)) |
run.setRenderingContext(SVGTextRunRenderingContext::create(&textRenderer())); |