Index: Source/core/layout/LayoutBlock.cpp |
diff --git a/Source/core/layout/LayoutBlock.cpp b/Source/core/layout/LayoutBlock.cpp |
index c717f16cd731914f84449fa5e7454a712bf67b39..212549aa523f1d262696a76279d4f4d542d1cbec 100644 |
--- a/Source/core/layout/LayoutBlock.cpp |
+++ b/Source/core/layout/LayoutBlock.cpp |
@@ -2007,6 +2007,12 @@ void LayoutBlock::computeIntrinsicLogicalWidths(LayoutUnit& minLogicalWidth, Lay |
maxLogicalWidth = std::max(minLogicalWidth, maxLogicalWidth); |
+ if (!styleRef().autoWrap() && layer() && isHTMLMarqueeElement(node())) { |
mstensho (USE GERRIT)
2015/06/23 09:33:30
What's with the layer() check?
Also not sure why
changseok
2015/06/24 06:15:58
This is garbage code. This change is inspired by w
|
+ AtomicString direction = toElement(node())->getAttribute(directionAttr); |
mstensho (USE GERRIT)
2015/06/23 09:33:31
I think I'd like to see this logic being moved to
changseok
2015/06/24 06:15:58
OK
|
+ if (direction != "down" && direction != "up") |
+ minLogicalWidth = 0; |
+ } |
+ |
if (isTableCell()) { |
Length tableCellWidth = toLayoutTableCell(this)->styleOrColLogicalWidth(); |
if (tableCellWidth.isFixed() && tableCellWidth.value() > 0) |