Index: Source/core/rendering/RenderTextControlSingleLine.cpp |
diff --git a/Source/core/rendering/RenderTextControlSingleLine.cpp b/Source/core/rendering/RenderTextControlSingleLine.cpp |
index 00bba448973eb41d9a2b2e7e7d29e8fa2049e404..415e282eb92e26199e6a594b3732419e83f203de 100644 |
--- a/Source/core/rendering/RenderTextControlSingleLine.cpp |
+++ b/Source/core/rendering/RenderTextControlSingleLine.cpp |
@@ -242,7 +242,7 @@ void RenderTextControlSingleLine::styleDidChange(StyleDifference diff, const Ren |
} |
RenderObject* innerTextRenderer = innerTextElement()->renderer(); |
if (innerTextRenderer && diff.needsFullLayout()) |
- innerTextRenderer->setNeedsLayout(); |
+ innerTextRenderer->setNeedsLayoutAndFullRepaint(); |
if (HTMLElement* placeholder = inputElement()->placeholderElement()) |
placeholder->setInlineStyleProperty(CSSPropertyTextOverflow, textShouldBeTruncated() ? CSSValueEllipsis : CSSValueClip); |
setHasOverflowClip(false); |