| Index: third_party/WebKit/Source/core/layout/LayoutTextControl.cpp
|
| diff --git a/third_party/WebKit/Source/core/layout/LayoutTextControl.cpp b/third_party/WebKit/Source/core/layout/LayoutTextControl.cpp
|
| index c01d6e8a694d113bb9324ae758a5da75e3e1510e..a702bf1bbb4f58b724816fed5208215a20ba07e8 100644
|
| --- a/third_party/WebKit/Source/core/layout/LayoutTextControl.cpp
|
| +++ b/third_party/WebKit/Source/core/layout/LayoutTextControl.cpp
|
| @@ -242,7 +242,7 @@ void LayoutTextControl::computeIntrinsicLogicalWidths(LayoutUnit& minLogicalWidt
|
| if (LayoutBox* innerEditorLayoutBox = innerEditorElement()->layoutBox())
|
| maxLogicalWidth += innerEditorLayoutBox->paddingStart() + innerEditorLayoutBox->paddingEnd();
|
| }
|
| - if (!style()->logicalWidth().hasPercent())
|
| + if (!style()->logicalWidth().isPercentOrCalc())
|
| minLogicalWidth = maxLogicalWidth;
|
| }
|
|
|
|
|