ISSUE-121: Consider generalizing the 'textInput' event to cover all user-initiated changes

beforeInput

Consider generalizing the 'textInput' event to cover all user-initiated changes

State:
CLOSED
Product:
HISTORICAL: DOM3 Events [All Bugs and Issues use Bugzilla: http://tinyurl.com/Bugs-DOM3Events]
Raised by:
Doug Schepers
Opened on:
2010-09-10
Description:
From <http://lists.w3.org/Archives/Public/www-dom/2010JulSep/0096.html> by Ojan Vafai:
[[
I don't see the need for a textInput event if we have the beforeInput event.
They are exactly the same except that beforeInput covers more cases. Stated
differently, textInput is a strict subset of beforeInput, so if we implement
beforeInput, we don't need textInput. Developers that only care about
character data can check the value of the data property and get the same
effect.

The changes are actually not that dramatic in my view:
1. Add more cases to the list of InputMethodCodes:
http://dev.w3.org/2006/webapi/DOM-Level-3-Events/html/DOM3-Events.html#events-ID-TextEvent-InputMethodCode
2. Rename the event
3. Modify the text under
http://dev.w3.org/2006/webapi/DOM-Level-3-Events/html/DOM3-Events.html#events-textevents to change from talking about "text input" to something like "anytime the user causes the DOM to be modified".
4. Modify
http://dev.w3.org/2006/webapi/DOM-Level-3-Events/html/DOM3-Events.html#events-TextEvent-data to specify that the data property is the empty string for inputMethods that do not insert plain text.
]]
Related Actions Items:
No related actions
Related emails:
  1. Re: textInput --> beforeInput [ISSUE-121] (from schepers@w3.org on 2011-08-17)
  2. Minutes, DOM3 Events telcon, 26 Jan 2011 (from schepers@w3.org on 2011-02-06)
  3. Re: Agenda: DOM3 Events Telcon, 12 October 2010 (from schepers@w3.org on 2010-10-13)
  4. Re: Agenda: DOM3 Events Telcon, 12 October 2010 (from schepers@w3.org on 2010-10-12)
  5. Agenda: DOM3 Events Telcon, 21 April 2010 (from schepers@w3.org on 2010-10-12)
  6. Agenda: DOM3 Events Telcon, 15 September 2010 (from schepers@w3.org on 2010-09-15)
  7. Re: textInput --> beforeInput [ISSUE-121] (from tony@chromium.org on 2010-09-10)
  8. Re: textInput --> beforeInput [ISSUE-121] (from annevk@opera.com on 2010-09-10)
  9. Re: textInput --> beforeInput [ISSUE-121] (from jonas@sicking.cc on 2010-09-10)
  10. Re: textInput --> beforeInput [ISSUE-121] (from tony@chromium.org on 2010-09-10)
  11. Re: textInput --> beforeInput [ISSUE-121] (from jonas@sicking.cc on 2010-09-10)
  12. Re: textInput --> beforeInput [ISSUE-121] (from annevk@opera.com on 2010-09-10)
  13. Re: textInput --> beforeInput [ISSUE-121] (from schepers@w3.org on 2010-09-10)
  14. ISSUE-121 (beforeInput): Consider generalizing the 'textInput' event to cover all user-initiated changes [DOM3 Events] (from sysbot+tracker@w3.org on 2010-09-10)

Related notes:

LAST CALL

Doug Schepers, 10 Sep 2010, 09:43:58

RESOLVED. No change, suggested deferring to other spec.
http://lists.w3.org/Archives/Public/www-dom/2011JulSep/0126.html

Doug Schepers, 17 Aug 2011, 17:54:18

Display change log ATOM feed


Chair, Staff Contact
Tracker: documentation, (configuration for this group), originally developed by Dean Jackson, is developed and maintained by the Systems Team <w3t-sys@w3.org>.
$Id: 121.html,v 1.1 2016/01/25 10:26:14 carine Exp $