Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(831)

Unified Diff: Source/core/html/HTMLTextAreaElement.cpp

Issue 1134593004: Reapply the patch r191685 with fixing the regression issue. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: Source/core/html/HTMLTextAreaElement.cpp
diff --git a/Source/core/html/HTMLTextAreaElement.cpp b/Source/core/html/HTMLTextAreaElement.cpp
index 8c6954c4eb84d1864d81912f8b070804683107fc..fab21906df23d970945ec0a19dc9e7f61478aa14 100644
--- a/Source/core/html/HTMLTextAreaElement.cpp
+++ b/Source/core/html/HTMLTextAreaElement.cpp
@@ -639,4 +639,12 @@ const AtomicString& HTMLTextAreaElement::defaultAutocapitalize() const
return sentences;
}
+void HTMLTextAreaElement::copyNonAttributePropertiesFromElement(const Element& source)
+{
+ const HTMLTextAreaElement& sourceElement = static_cast<const HTMLTextAreaElement&>(source);
+ setValueCommon(sourceElement.value(), DispatchNoEvent, SetSeletion);
+ m_isDirty = sourceElement.m_isDirty;
+ HTMLTextFormControlElement::copyNonAttributePropertiesFromElement(source);
+}
+
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698