void HTMLTextFormControlElement::dispatchFormControlChangeEvent() { if (m_textAsOfLastFormControlChangeEvent != value()) { dispatchChangeEvent(); setTextAsOfLastFormControlChangeEvent(value()); } setChangedSinceLastFormControlChangeEvent(false); }
void HTMLTextFormControlElement::dispatchFormControlChangeEvent() { if (!equalIgnoringNullity(m_textAsOfLastFormControlChangeEvent, value())) { dispatchChangeEvent(); setTextAsOfLastFormControlChangeEvent(value()); } setChangedSinceLastFormControlChangeEvent(false); }
void HTMLTextFormControlElement::dispatchFormControlChangeEvent() { String newValue = value(); if (shouldDispatchFormControlChangeEvent(m_textAsOfLastFormControlChangeEvent, newValue)) { setTextAsOfLastFormControlChangeEvent(newValue); dispatchChangeEvent(); } setChangedSinceLastFormControlChangeEvent(false); }