Index: Source/core/html/HTMLTextAreaElement.cpp |
diff --git a/Source/core/html/HTMLTextAreaElement.cpp b/Source/core/html/HTMLTextAreaElement.cpp |
index ce8bafa9414c3857165f4c4f933842e2ba2beee9..e35f10714f33d76a99ffd5d3dd5a8a2df15f1d73 100644 |
--- a/Source/core/html/HTMLTextAreaElement.cpp |
+++ b/Source/core/html/HTMLTextAreaElement.cpp |
@@ -362,7 +362,7 @@ void HTMLTextAreaElement::setValueCommon(const String& newValue) |
setInnerTextValue(m_value); |
setLastChangeWasNotUserEdit(); |
updatePlaceholderVisibility(false); |
- setNeedsStyleRecalc(); |
+ setNeedsStyleRecalc(SubtreeStyleChange); |
setFormControlValueMatchesRenderer(true); |
// Set the caret to the end of the text value. |
@@ -438,7 +438,7 @@ void HTMLTextAreaElement::setSuggestedValue(const String& value) |
m_suggestedValue = value; |
setInnerTextValue(m_suggestedValue); |
updatePlaceholderVisibility(false); |
- setNeedsStyleRecalc(); |
+ setNeedsStyleRecalc(SubtreeStyleChange); |
setFormControlValueMatchesRenderer(true); |
} |