W3C home > Mailing lists > Public > www-dom@w3.org > July to September 2012

[DOM3Events] key repetition and default actions

From: L. David Baron <dbaron@dbaron.org>
Date: Wed, 19 Sep 2012 09:24:48 -0700
To: www-dom@w3.org
Message-ID: <20120919162448.GA17567@crum.dbaron.org>
http://www.w3.org/TR/2012/WD-DOM-Level-3-Events-20120906/#events-keyboard-event-order
describes a key event order as follows:

  # 1. keydown
  # 2. keypress (only for keys which produce a character value)
  # 3. If the key is depressed for a sustained period, the following
  #    events may repeat at an environment-dependent rate:
  #        keydown (with repeat attribute set to true)
  #        keypress (with repeat attribute set to true; only for
  #          keys which produce a character value)
  # 4. Any default actions related to this key
  # 5. keyup

It seems, however, that when a key is held down and repeating, there
may be default actions associated with each repetition.  In this
case, I think a mention of default actions should also occur within
the nested list (presumably after keydown and keypress, just like
for non-repeated keypresses).

-David

-- 
𝄞   L. David Baron                         http://dbaron.org/   𝄂
𝄢   Mozilla                           http://www.mozilla.org/   𝄂
Received on Wednesday, 19 September 2012 16:25:18 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 19 September 2012 16:25:27 GMT