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

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 UTC