W3C home > Mailing lists > Public > www-dom@w3.org > April to June 2012

Re: [D3E] Where did textInput go?

From: Andrew Oakley <andrew@ado.is-a-geek.net>
Date: Wed, 4 Apr 2012 19:01:30 +0100
To: "Anne van Kesteren" <annevk@opera.com>
Cc: www-dom@w3.org
Message-ID: <20120404190130.75f0f7af@ado-amd-gentoo.moore.slainvet.net>
On Wed, 04 Apr 2012 18:58:49 +0200
"Anne van Kesteren" <annevk@opera.com> wrote:

> On Wed, 04 Apr 2012 18:54:46 +0200, Andrew Oakley  
> <andrew@ado.is-a-geek.net> wrote:
> > The textInput event seems to have been removed from the latest versions
> > of DOM 3 Events but I can't find any real explanation as to why it
> > disappeared, or if it has been replaced by anything.
> 
> See https://www.w3.org/Bugs/Public/show_bug.cgi?id=12958 Conclusion was  
> emailed to this list in  
> http://lists.w3.org/Archives/Public/www-dom/2012JanMar/0225.html

Thanks, I must have missed that.  The reason seems to be incompatible
implementations and that other events can be used for the same thing.

How would content now determine what text was input?  The input event
in HTML5 appears to just be a simple event, and the keyboard events are
obviously not sufficient (copy+paste being the most obvious thing that
could be missed but there are also the usual IME issues).

I realise this might be possible with the editing APIs, but that seems
excessively complicated (and not supported by any browsers as far as I
know) way of getting some fairly basic information.

-- 
Andrew Oakley
Received on Wednesday, 4 April 2012 18:00:59 GMT

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