Index: Source/core/rendering/RenderBlock.cpp |
diff --git a/Source/core/rendering/RenderBlock.cpp b/Source/core/rendering/RenderBlock.cpp |
index 5fd8b755ff0924efbfbda017f9bd053c0a10c1e2..7746d1849feb396f05c24a307ce8022b668c97c6 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 (isMarquee() && toRenderMarquee(this)->isHorizontal()) |
- minLogicalWidth = 0; |
- } |
+ // A horizontal marquee with inline children has no minimum width. |
+ if (childrenInline() && isMarquee() && toRenderMarquee(this)->isHorizontal()) |
+ minLogicalWidth = 0; |
if (isTableCell()) { |
Length tableCellWidth = toRenderTableCell(this)->styleOrColLogicalWidth(); |