Index: Source/core/rendering/RenderBlock.cpp |
diff --git a/Source/core/rendering/RenderBlock.cpp b/Source/core/rendering/RenderBlock.cpp |
index 3b6d47544e3482ca220adb33a23e07597a35cbcb..7683440cacad35c700e53b947f177b64439aa335 100644 |
--- a/Source/core/rendering/RenderBlock.cpp |
+++ b/Source/core/rendering/RenderBlock.cpp |
@@ -5773,12 +5773,9 @@ void RenderBlock::computeIntrinsicLogicalWidths(LayoutUnit& minLogicalWidth, Lay |
maxLogicalWidth = max(minLogicalWidth, maxLogicalWidth); |
- if (!style()->autoWrap() && childrenInline()) { |
- minLogicalWidth = maxLogicalWidth; |
- // A horizontal marquee with inline children has no minimum width. |
- if (layer() && layer()->marquee() && layer()->marquee()->isHorizontal()) |
- minLogicalWidth = 0; |
- } |
+ // A horizontal marquee with inline children has no minimum width. |
+ if (childrenInline() && layer() && layer()->marquee() && layer()->marquee()->isHorizontal()) |
+ minLogicalWidth = 0; |
if (isTableCell()) { |
Length tableCellWidth = toRenderTableCell(this)->styleOrColLogicalWidth(); |