On Wed, Apr 4, 2012 at 10:07 PM, Ojan Vafai <o...@chromium.org> wrote: > The original proposal to drop textInput included that beforeInput/input > would have a data property of the plain text being inserted. Aryeh, how does > that sound to you? Maybe the property should be called 'text'? 'data' is > probably too generic.
Sounds reasonable. Per spec, the editing variant of these events has .command and .value. I think .text is a good name for the plaintext version. It should just have the value that the input/textarea would have if the beforeinput event isn't canceled.