| Index: third_party/WebKit/Source/core/layout/LayoutMenuList.cpp
|
| diff --git a/third_party/WebKit/Source/core/layout/LayoutMenuList.cpp b/third_party/WebKit/Source/core/layout/LayoutMenuList.cpp
|
| index 04556f888ff1828afbf41da571b162f38468c26b..9b7d92eaadc11706d8ac0ddef4a270d23067ea36 100644
|
| --- a/third_party/WebKit/Source/core/layout/LayoutMenuList.cpp
|
| +++ b/third_party/WebKit/Source/core/layout/LayoutMenuList.cpp
|
| @@ -256,7 +256,7 @@ void LayoutMenuList::computeIntrinsicLogicalWidths(LayoutUnit& minLogicalWidth,
|
|
|
| maxLogicalWidth = std::max(m_optionsWidth, LayoutTheme::theme().minimumMenuListSize(styleRef()))
|
| + m_innerBlock->paddingLeft() + m_innerBlock->paddingRight();
|
| - if (!style()->width().hasPercent())
|
| + if (!style()->width().isPercentOrCalc())
|
| minLogicalWidth = maxLogicalWidth;
|
| else
|
| minLogicalWidth = LayoutUnit();
|
|
|