| Index: Source/core/html/HTMLInputElement.cpp
|
| diff --git a/Source/core/html/HTMLInputElement.cpp b/Source/core/html/HTMLInputElement.cpp
|
| index e8e8e7c765425c1d0165b851a07bc545b6662c22..23d0b8b7ab01429c22cdfc3adb86d9227fd660c6 100644
|
| --- a/Source/core/html/HTMLInputElement.cpp
|
| +++ b/Source/core/html/HTMLInputElement.cpp
|
| @@ -1100,10 +1100,7 @@ void HTMLInputElement::setValueFromRenderer(const String& value)
|
| // Renderer and our event handler are responsible for sanitizing values.
|
| ASSERT(value == sanitizeValue(value) || sanitizeValue(value).isEmpty());
|
|
|
| - // Workaround for bug where trailing \n is included in the result of textContent.
|
| - // The assert macro above may also be simplified to: value == constrainValue(value)
|
| - // http://bugs.webkit.org/show_bug.cgi?id=9661
|
| - m_valueIfDirty = value == "\n" ? emptyString() : value;
|
| + m_valueIfDirty = value;
|
|
|
| setFormControlValueMatchesRenderer(true);
|
| m_wasModifiedByUser = true;
|
|
|