Index: Source/core/rendering/RenderTextControlSingleLine.cpp |
diff --git a/Source/core/rendering/RenderTextControlSingleLine.cpp b/Source/core/rendering/RenderTextControlSingleLine.cpp |
index 8c319631a7900e3487425d8a5031b47fb9eba0e8..09056309469e1034216ca89d26e3b40077afa809 100644 |
--- a/Source/core/rendering/RenderTextControlSingleLine.cpp |
+++ b/Source/core/rendering/RenderTextControlSingleLine.cpp |
@@ -243,7 +243,7 @@ void RenderTextControlSingleLine::styleDidChange(StyleDifference diff, const Ren |
} |
RenderObject* innerTextRenderer = innerTextElement()->renderer(); |
if (innerTextRenderer && diff == StyleDifferenceLayout) |
- innerTextRenderer->setNeedsLayout(true, MarkOnlyThis); |
+ innerTextRenderer->setNeedsLayout(true, MarkContainingBlockChain); |
if (HTMLElement* placeholder = inputElement()->placeholderElement()) |
placeholder->setInlineStyleProperty(CSSPropertyTextOverflow, textShouldBeTruncated() ? CSSValueEllipsis : CSSValueClip); |
setHasOverflowClip(false); |