| Index: Source/core/rendering/RenderBlockLineLayout.cpp
|
| diff --git a/Source/core/rendering/RenderBlockLineLayout.cpp b/Source/core/rendering/RenderBlockLineLayout.cpp
|
| index e244d5419f4f10856babf460eb66c39debcabaf9..9f4ead1e58e89f0364a7821c8f25d19736ae1695 100644
|
| --- a/Source/core/rendering/RenderBlockLineLayout.cpp
|
| +++ b/Source/core/rendering/RenderBlockLineLayout.cpp
|
| @@ -319,6 +319,9 @@ ETextAlign RenderBlockFlow::textAlignmentForLine(bool endsWithSoftBreak) const
|
| if (!RuntimeEnabledFeatures::css3TextEnabled())
|
| return (alignment == JUSTIFY) ? TASTART : alignment;
|
|
|
| + if (alignment != JUSTIFY)
|
| + return alignment;
|
| +
|
| TextAlignLast alignmentLast = style()->textAlignLast();
|
| switch (alignmentLast) {
|
| case TextAlignLastStart:
|
| @@ -334,8 +337,6 @@ ETextAlign RenderBlockFlow::textAlignmentForLine(bool endsWithSoftBreak) const
|
| case TextAlignLastJustify:
|
| return JUSTIFY;
|
| case TextAlignLastAuto:
|
| - if (alignment != JUSTIFY)
|
| - return alignment;
|
| if (style()->textJustify() == TextJustifyDistribute)
|
| return JUSTIFY;
|
| return TASTART;
|
|
|