Блог
|
Карта сайта
|
Поиск
| Language:
eng
рус
О проекте
Загрузить
Примеры
Учебники
Справочник
Поддержка
Сообщество
Ajax GUI Framework
Примеры
SVG 1.1 элементы
Trident Keyboard Event Flow
XUL элементы
SVG 1.1 элементы
HTML5 элементы
Диаграммы
XHTML 1.0 элементы
SMIL 3.0 анимация
AML элементы
Расширения
<Песочница />
To see examples working properly, please enable Javascript.
Trident Keyboard Event Flow
Drawing...
Layer-1
keydown
(only for latest key down)
Handwriting recognition
keyCode = 231
No Key Activity
IME?
Created via
physical
keyboard?
IME Pad
Command
No Events
Character
composition
sequence?
keydown
keyCode = 229
keyup
keyCode
corresponds
to key pressed
Character
sequence
completed?
Done
Combination
of keys or a function
key?
Character key?
Sustained?
Browser/Windows
keyboard shortcut?
Loss of Trident
focus?
Released before
Trident loses focus
(or dialog shows)?
keypress
keyCode = character
code
Sustained
or new combination key
pressed?
keyup
Waits and fires keyup for each
key that is depressed as they
are released
ALT?
ALT released prior to
other key(s)?
keyup
Only for other key(s)
keyup
Trident loses
focus
Trident Keyboard Event Flow
Noted Exception:
ALT+D No keydown event for the D.
Microsoft IME:
When using the IME Pad instead of a
physical keyboard, only the command
buttons fire keyboard events.
IME Pad Command Buttons:
BS, Enter, Space, Del, Esc, Conv, and arrow keys
Character Keys:
a-z, A-Z, 0-9,
ESCAPE, SPACE, ENTER
Function Keys:
F1-F12
DOM Modified, if
applicable
DOM Modified, if
applicable
DOM
Modified, if
applicable
This drawing is taken from
W3C public mailing list message
|
О проекте
|
Загрузить
|
Примеры
|
Учебники
|
Справочник
|
Поддержка
|
Сообщество
Copyright © 2010
Clientside OY
|
Связаться с нами