| Index: third_party/WebKit/Source/core/layout/LayoutListBox.cpp
|
| diff --git a/third_party/WebKit/Source/core/layout/LayoutListBox.cpp b/third_party/WebKit/Source/core/layout/LayoutListBox.cpp
|
| index 0854713e223d6358b97a0efa1d6147058fb5f4e9..61f4b07a965b9f4959aea6d72f9287728c187359 100644
|
| --- a/third_party/WebKit/Source/core/layout/LayoutListBox.cpp
|
| +++ b/third_party/WebKit/Source/core/layout/LayoutListBox.cpp
|
| @@ -121,7 +121,7 @@ void LayoutListBox::stopAutoscroll()
|
| void LayoutListBox::computeIntrinsicLogicalWidths(LayoutUnit& minLogicalWidth, LayoutUnit& maxLogicalWidth) const
|
| {
|
| LayoutBlockFlow::computeIntrinsicLogicalWidths(minLogicalWidth, maxLogicalWidth);
|
| - if (style()->width().hasPercent())
|
| + if (style()->width().isPercentOrCalc())
|
| minLogicalWidth = LayoutUnit();
|
| }
|
|
|
|
|