[Webkit-unassigned] [Bug 10871] REGRESSION: IME key events different in nightly

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Jan 11 09:56:28 PST 2007


http://bugs.webkit.org/show_bug.cgi?id=10871





------- Comment #7 from ap at webkit.org  2007-01-11 09:56 PDT -------
To clarify on the model a bit more, and to stir further discussion:
1) keydown/keyup are the lowest level keyboard events which map directly to
physical keypresses.
2) keypress is sent when an input method doesn't handle the event (i.e. when
the IM has returned a "not handled" status, or a plain keyboard layout is being
used). This is also when form submission etc takes place. Canceling the event
cancels default processing.
3) I'm not really sure when textInput is supposed to be sent. I guess it's only
meaningful for final text, i.e., typing into inline hole shouldn't dispatch
this event, but confirming it should do so. Typing with a plain keyboard or
entering text via Character Palette should probably dispatch it, as well.
Pasting from clipboard probably shouldn't.

Looks like canceling textInput cannot prevent the text from being inserted -
after all, DOM already has the inline hole content, correct? Canceling keypress
prevents typing with a plain keyboard and default actions.

See also:
<http://msdn.microsoft.com/workshop/author/dhtml/reference/events/onkeypress.asp>
(same for up and down). Seems to be quite different from what Firefox does.


-- 
Configure bugmail: http://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the webkit-unassigned mailing list