ISSUE-139: Define which events repeat when a key is held down

clarify key repeat

Define which events repeat when a key is held down

State:
CLOSED
Product:
HISTORICAL: DOM3 Events [All Bugs and Issues use Bugzilla: http://tinyurl.com/Bugs-DOM3Events]
Raised by:
Doug Schepers
Opened on:
2010-10-06
Description:
Hallvord R. M. Steen <http://lists.w3.org/Archives/Public/www-dom/2010JulSep/0178.html>:
[[
spec currently says:
> Depending on the system configuration, holding down a key
> results may result in multiple consecutive keydown events,
> keypress events, and textInput events, for appropriate keys

Leaving aside the grammatical mistake ('results may result'), the spec is
too vague here. Web content requires that we repeatedly send
keydown+keypress [1]. Implementations that support this should also repeat
textInput and input events after keypress.

Suggested replacement text:

"Holding down a key must result in repeating the events keydown, keypress
and textInput in this order, at a rate determined by the system
configuration."

(And I'm absolutely sure this is an issue and must be fixed, because Opera
currently breaks docs.google.com by not repeating correctly :-p)
]]
Related Actions Items:
No related actions
Related emails:
  1. Re: ISSUE-139 (clarify key repeat): Define which events repeat when a key is held down [DOM3 Events] (from jrossi@microsoft.com on 2011-04-18)
  2. ISSUE-139 (clarify key repeat): Define which events repeat when a key is held down [DOM3 Events] (from sysbot+tracker@w3.org on 2010-10-06)

Related notes:

LAST CALL

Doug Schepers, 11 Oct 2010, 17:01:01

Revision 1.167. Hallvord’s suggested text for this issue makes sense and is clearer than the existing text. I confirmed interoperability for keydown/keypress repeating (noting the exception for Opera which Hallvord identified as a bug). I modified the text to clarify that some user agents may not support keypress (it is deprecated) and that textinput is only fired when generating text input. Let me know if there are issues.

Jacob Rossi, 18 Apr 2011, 06:55:58

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: 139.html,v 1.1 2016/01/25 10:26:15 carine Exp $