[Bug 22070] Add input/beforeinput events to D3E [was "Revive textInput"]

https://www.w3.org/Bugs/Public/show_bug.cgi?id=22070

--- Comment #15 from Masayuki Nakano <masayuki@d-toybox.com> ---
I have a question about beforeinput.

I'm not sure the textinput behavior on WebKit (and IE?), beforeinput will be
caused by "paste" or other edit commands too? In other words, it should be
fired immediately before any mutation in editor? If so, beforeinput event is
needed to be fired from editor implementation. Then, it's difficult to
implement beforeinput as cancelable event especially for the latter case. For
example, edit commands might be performed from event handlers including
beforeinput event handler! So, it may cause stack overflow. For preventing the
stack overflow, the event should be dispatched asynchronously while a event
handler is being performed.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.

Received on Saturday, 18 May 2013 01:21:08 UTC