DescriptionAutofill/rAc: dispatch "input" events when changing text contents of <textarea>,
<select>, or <input> tags via Autofill.
This more closely matches the spec behavior as "input" events should be fired
whenever the text is changed. From the spec[1]:
"""
When the user agent is to change an input element's value on behalf of the user
(e.g. as part of a form prefilling feature), the user agent must queue a task to
first update the value accordingly, then fire a simple event that bubbles named
input at the input element, then fire a simple event that bubbles named change
at the input element.
"""
BUG=353691
R=tkent@chromium.org
[1] http://www.whatwg.org/specs/web-apps/current-work/multipage/common-input-element-attributes.html#event-input-input
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=170278
Patch Set 1 #
Total comments: 4
Patch Set 2 : remove dispatchFormControl*Event() #Patch Set 3 : add back dispatchFormControlChangeEvent() temporarily to not break chrome when blink gets rolled in #
Total comments: 4
Patch Set 4 : protecting protectors everywhere #
Messages
Total messages: 13 (0 generated)
|