Index: Source/core/rendering/InlineTextBox.cpp |
diff --git a/Source/core/rendering/InlineTextBox.cpp b/Source/core/rendering/InlineTextBox.cpp |
index a28b0d4d71c23401efd9c990bf81fd919f4ac800..4021624d20e1474878acc2fbe962dda8248986d8 100644 |
--- a/Source/core/rendering/InlineTextBox.cpp |
+++ b/Source/core/rendering/InlineTextBox.cpp |
@@ -1542,6 +1542,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())); |