W3C home > Mailing lists > Public > www-dom@w3.org > July to September 2010

Re: textInput --> beforeInput

From: Jonas Sicking <jonas@sicking.cc>
Date: Fri, 27 Aug 2010 14:20:57 -0700
Message-ID: <AANLkTiknO0jMyusxLc_XcP+761p2y=h48YqvXbsyRx51@mail.gmail.com>
To: Doug Schepers <schepers@w3.org>
Cc: Ojan Vafai <ojan@chromium.org>, Roland Steiner <rolandsteiner@google.com>, Jacob Rossi <rossi@gatech.edu>, Tony Chang <tony@chromium.org>, www-dom@w3.org, morrita@google.com, danilatos@google.com
On Fri, Aug 27, 2010 at 2:17 PM, Doug Schepers <schepers@w3.org> wrote:
>> 2. Fire beforeInput for any user-action that modifies the DOM, not just
>> actions that cause text to get inserted.
>
> That's more like a mutation event, not a 'textInput' event, and mutation
> events are pretty widely reviled by implementers (though useful when
> implemented); they seem to be difficult to implement efficiently.  We have
> deprecated Mutation Events in DOM3 Events, though there are still going to
> be implementations for a while.

What counts as "any user-action" here? If we're talking about things
like copy-paste and drag'n'drop then it won't have any of the problems
that mutations events have.

/ Jonas
Received on Friday, 27 August 2010 21:21:46 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Friday, 22 June 2012 06:14:05 GMT