Chromium Code Reviews| Index: Source/core/html/HTMLTextAreaElement.cpp |
| diff --git a/Source/core/html/HTMLTextAreaElement.cpp b/Source/core/html/HTMLTextAreaElement.cpp |
| index 751d378a598c150e50b68a2da65b0f1be8d6dcca..f4e0b16580751e6440f34434c307f9d534997ebe 100644 |
| --- a/Source/core/html/HTMLTextAreaElement.cpp |
| +++ b/Source/core/html/HTMLTextAreaElement.cpp |
| @@ -433,6 +433,20 @@ void HTMLTextAreaElement::setMaxLength(int newValue, ExceptionState& exceptionSt |
| setIntegralAttribute(maxlengthAttr, newValue); |
| } |
| +const String& HTMLTextAreaElement::suggestedValue() const |
| +{ |
| + return m_suggestedValue; |
| +} |
| + |
| +void HTMLTextAreaElement::setSuggestedValue(const String& value) |
| +{ |
| + m_suggestedValue = value; |
| + setInnerTextValue(m_suggestedValue); |
|
Ilya Sherman
2013/12/29 03:15:08
I'm wondering whether you need more of HTMLTextAre
|
| + setNeedsStyleRecalc(); |
| + setFormControlValueMatchesRenderer(true); |
| +} |
| + |
| + |
|
Ilya Sherman
2013/12/29 03:15:08
nit: Please remove the second blank line -- there
|
| String HTMLTextAreaElement::validationMessage() const |
| { |
| if (!willValidate()) |