DescriptionIntroduce HTMLInputElement::m_hasDirtyValue.
Add a bool flag to represent the dirty flag [1]. We replace
!m_valueIfDirty.isNull() for dirty flag checking with the new flag.
This CL has no behavior changes. This CL is a preparation to make
m_valueIfDirty a permanent storage of |value| IDL attribute.
[1] https://html.spec.whatwg.org/multipage/forms.html#concept-input-value-dirty-flag
[2] https://html.spec.whatwg.org/multipage/forms.html#dom-input-value
BUG=633074
Committed: https://crrev.com/930e066130dc8621d4b25c8bfe14d8fff315404e
Cr-Commit-Position: refs/heads/master@{#421100}
Patch Set 1 #Patch Set 2 : Fix Windows build #
Messages
Total messages: 16 (11 generated)
|