[Webkit-unassigned] [Bug 117526] “oninput” doesn’t fire when changing a ?=<select>=?UTF-8?Q? element’s value

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Mar 20 02:57:45 PDT 2014


https://bugs.webkit.org/show_bug.cgi?id=117526





--- Comment #7 from Antti Koivisto <koivisto at iki.fi>  2014-03-20 02:58:05 PST ---
(From update of attachment 227038)
View in context: https://bugs.webkit.org/attachment.cgi?id=227038&action=review

Reading the spec it sounds like the intention is that input event only fires for <input> elements.

"When the input and change events apply (which is the case for all input controls other than buttons and those with the type attribute in the Hidden state), the events are fired to indicate that the user has interacted with the control. The input event fires whenever the user has modified the data of the control. The change event fires when the value is committed, if that makes sense for the control, or else when the control loses focus. In all cases, the input event comes before the corresponding change event (if any)."

> Source/WebCore/html/HTMLSelectElement.cpp:700
> +        RefPtr<HTMLSelectElement> protector(this);

This seems like a separate bug fix. Could you make a test case for it and land separately?

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list