| Index: third_party/WebKit/Source/core/layout/LayoutRubyText.cpp
|
| diff --git a/third_party/WebKit/Source/core/layout/LayoutRubyText.cpp b/third_party/WebKit/Source/core/layout/LayoutRubyText.cpp
|
| index 66d40929226592722efec81f8bd5a15a5c4bd6b0..a454d07b7eda47cef9db1c1092697098350498e5 100644
|
| --- a/third_party/WebKit/Source/core/layout/LayoutRubyText.cpp
|
| +++ b/third_party/WebKit/Source/core/layout/LayoutRubyText.cpp
|
| @@ -48,7 +48,8 @@ ETextAlign LayoutRubyText::textAlignmentForLine(bool endsWithSoftBreak) const {
|
| if (textAlign != ComputedStyle::initialTextAlign())
|
| return LayoutBlockFlow::textAlignmentForLine(endsWithSoftBreak);
|
|
|
| - // The default behavior is to allow ruby text to expand if it is shorter than the ruby base.
|
| + // The default behavior is to allow ruby text to expand if it is shorter than
|
| + // the ruby base.
|
| return JUSTIFY;
|
| }
|
|
|
| @@ -66,8 +67,8 @@ void LayoutRubyText::adjustInlineDirectionLineBounds(
|
| if (maxPreferredLogicalWidth >= logicalWidth)
|
| return;
|
|
|
| - // Inset the ruby text by half the inter-ideograph expansion amount, but no more than a full-width
|
| - // ruby character on each side.
|
| + // Inset the ruby text by half the inter-ideograph expansion amount, but no
|
| + // more than a full-width ruby character on each side.
|
| LayoutUnit inset = (logicalWidth - maxPreferredLogicalWidth) /
|
| (expansionOpportunityCount + 1);
|
| if (expansionOpportunityCount)
|
|
|