| Index: Source/core/rendering/RenderBox.cpp
|
| diff --git a/Source/core/rendering/RenderBox.cpp b/Source/core/rendering/RenderBox.cpp
|
| index 12153fe566e27d82512c247230417c7c1c459337..6c5148cfe9afc026212d2e1b7c7e1221dd1d5f56 100644
|
| --- a/Source/core/rendering/RenderBox.cpp
|
| +++ b/Source/core/rendering/RenderBox.cpp
|
| @@ -35,6 +35,7 @@
|
| #include "core/html/HTMLElement.h"
|
| #include "core/html/HTMLFrameOwnerElement.h"
|
| #include "core/html/HTMLHtmlElement.h"
|
| +#include "core/html/HTMLTextAreaElement.h"
|
| #include "core/page/Frame.h"
|
| #include "core/page/FrameView.h"
|
| #include "core/page/Page.h"
|
| @@ -2281,7 +2282,8 @@ bool RenderBox::sizesLogicalWidthToFitContent(SizeType widthType) const
|
| // stretching column flexbox.
|
| // FIXME: Think about block-flow here.
|
| // https://bugs.webkit.org/show_bug.cgi?id=46473
|
| - if (logicalWidth.type() == Auto && !isStretchingColumnFlexItem(this) && node() && (node()->hasTagName(inputTag) || node()->hasTagName(selectTag) || node()->hasTagName(buttonTag) || node()->hasTagName(textareaTag) || node()->hasTagName(legendTag)))
|
| + if (logicalWidth.type() == Auto && !isStretchingColumnFlexItem(this) && node() && (node()->hasTagName(inputTag)
|
| + || node()->hasTagName(selectTag) || node()->hasTagName(buttonTag) || isHTMLTextAreaElement(node()) || node()->hasTagName(legendTag)))
|
| return true;
|
|
|
| if (isHorizontalWritingMode() != containingBlock()->isHorizontalWritingMode())
|
|
|