| Index: WebCore/dom/InputElement.cpp
|
| ===================================================================
|
| --- WebCore/dom/InputElement.cpp (revision 73369)
|
| +++ WebCore/dom/InputElement.cpp (working copy)
|
| @@ -138,7 +138,9 @@
|
|
|
| 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);
|
| }
|
|
|
|
|