| Index: Source/core/layout/LayoutBlockFlowLine.cpp
|
| diff --git a/Source/core/layout/LayoutBlockFlowLine.cpp b/Source/core/layout/LayoutBlockFlowLine.cpp
|
| index 026dfc368696d0e63ac37a88526d786e8a397239..1d12798e2175f5fd4266e7cc7a41ad413ebd7061 100644
|
| --- a/Source/core/layout/LayoutBlockFlowLine.cpp
|
| +++ b/Source/core/layout/LayoutBlockFlowLine.cpp
|
| @@ -1321,15 +1321,7 @@ void LayoutBlockFlow::computeInlinePreferredLogicalWidths(LayoutUnit& minLogical
|
| // Go ahead and terminate the current line as far as
|
| // minwidth is concerned.
|
| LayoutUnit childMinPreferredLogicalWidth, childMaxPreferredLogicalWidth;
|
| - if (child->isBox() && child->isHorizontalWritingMode() != isHorizontalWritingMode()) {
|
| - LayoutBox* childBox = toLayoutBox(child);
|
| - LogicalExtentComputedValues computedValues;
|
| - childBox->computeLogicalHeight(childBox->borderAndPaddingLogicalHeight(), 0, computedValues);
|
| - childMinPreferredLogicalWidth = childMaxPreferredLogicalWidth = computedValues.m_extent;
|
| - } else {
|
| - childMinPreferredLogicalWidth = child->minPreferredLogicalWidth();
|
| - childMaxPreferredLogicalWidth = child->maxPreferredLogicalWidth();
|
| - }
|
| + child->minMaxPreferredLogicalWidthForParent(childMinPreferredLogicalWidth, childMaxPreferredLogicalWidth);
|
| childMin += childMinPreferredLogicalWidth;
|
| childMax += childMaxPreferredLogicalWidth;
|
|
|
|
|