diff options
Diffstat (limited to 'WebCore/dom/InputElement.cpp')
-rw-r--r-- | WebCore/dom/InputElement.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/WebCore/dom/InputElement.cpp b/WebCore/dom/InputElement.cpp index 85f37e1..37211d8 100644 --- a/WebCore/dom/InputElement.cpp +++ b/WebCore/dom/InputElement.cpp @@ -138,7 +138,9 @@ void InputElement::setValueFromRenderer(InputElementData& data, InputElement* in element->setFormControlValueMatchesRenderer(true); - element->dispatchEvent(Event::create(eventNames().inputEvent, true, false)); + // Input event is fired by the Node::defaultEventHandler for editable controls. + if (!inputElement->isTextField()) + element->dispatchEvent(Event::create(eventNames().inputEvent, true, false)); notifyFormStateChanged(element); } |