W3C home > Mailing lists > Public > public-webapps@w3.org > October to December 2010

ISSUE-139 (clarify key repeat): Define which events repeat when a key is held down [DOM3 Events]

From: Web Applications Working Group Issue Tracker <sysbot+tracker@w3.org>
Date: Wed, 06 Oct 2010 06:20:03 +0000
To: public-webapps@w3.org
Message-Id: <E1P3NMB-0004ij-55@lowblow.w3.org>

ISSUE-139 (clarify key repeat): Define which events repeat when a key is held down [DOM3 Events]

http://www.w3.org/2008/webapps/track/issues/139

Raised by: Doug Schepers
On product: DOM3 Events

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)
]]
Received on Wednesday, 6 October 2010 06:20:05 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 18:49:41 GMT