Discussed in Bug 61857. HTMLInputElement::m_value only contain the value of the element when the dirty value flag is true. Otherwise the value is taken from the "value" attribute. It should be renamed because it is confusing.
Created attachment 95849 [details] patch
Comment on attachment 95849 [details] patch View in context: https://bugs.webkit.org/attachment.cgi?id=95849&action=review > Source/WebCore/html/HTMLInputElement.h:142 > + bool hadDirtyValue() const { return !m_valueIfDirty.isNull(); }; Why 'had'? I think it should be 'has'.
Created attachment 95851 [details] fixed typo
> Why 'had'? I think it should be 'has'. Sorry, typo.
Comment on attachment 95851 [details] fixed typo ok
Comment on attachment 95851 [details] fixed typo Clearing flags on attachment: 95851 Committed r88329: <http://trac.webkit.org/changeset/88329>
All reviewed patches have been landed. Closing bug.