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>
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).


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

This archive was generated by hypermail 2.3.1 : Tuesday, 20 October 2015 10:46:19 UTC