[whatwg] oninput event - pasting
ian at hixie.ch
Thu Jun 8 15:55:02 PDT 2006
On Thu, 8 Jun 2006, Shadow2531 wrote:
> "this specification introduces the input event. This event is fired on
> a control whenever the value of the control changes due to input from
> the user"
> Does "due to input from the user" mean that *every*, *direct* action
> the user *makes on the control* (that changes its value) causes the
> event to fire?
> Specifically, if I have this:
> <textarea oninput="alert('test')"></textarea>
> , and right-click and paste into the textarea or ctrl+v into the
> textarea to paste, or select and cut, should the event fire?
Another part of the spec mentions that the UA may coallesce multiple
inputs into one input event, so e.g. if you type very fast it might not
fire one input event per character, it might fire one every few hundred
Ian Hickson U+1047E )\._.,--....,'``. fL
http://ln.hixie.ch/ U+263A /, _.. \ _\ ;`._ ,.
Things that are impossible just take longer. `._.-(,_..'--(,_..'`-.;.'
More information about the whatwg