Index: Source/core/html/shadow/TextControlInnerElements.cpp |
diff --git a/Source/core/html/shadow/TextControlInnerElements.cpp b/Source/core/html/shadow/TextControlInnerElements.cpp |
index 9506d0509edab05639e9b4afafea8b6120d32048..96a0e970617718fbaa0b347c41c33440ed84651e 100644 |
--- a/Source/core/html/shadow/TextControlInnerElements.cpp |
+++ b/Source/core/html/shadow/TextControlInnerElements.cpp |
@@ -85,6 +85,7 @@ PassRefPtr<ComputedStyle> EditingViewPortElement::customStyleForLayoutObject() |
style->inheritFrom(shadowHost()->computedStyleRef()); |
style->setFlexGrow(1); |
+ style->setMinWidth(Length(0, Fixed)); |
style->setDisplay(BLOCK); |
style->setDirection(LTR); |