DescriptionDon't insert ASCII character with ctrl(w/o/ alt) or meta is on.
On Gtk/Linux, it emits key events with ASCII text and ctrl on for ctrl-<x>.
In WebKit, EditorClient::handleKeyboardEvent in
WebKit/gtk/WebCoreSupport/EditorClientGtk.cpp drops such events.
On Mac, it emits key events with ASCII text and meta is on for Command-<x>.
These key events should not emit text insert event.
Alt key would be used to insert alternative character, so we should let through.
Ctrl-Alt combination may equal to AltGr key, which is also used to insert
alternative character.
In summary, we can't think of a scenario where you'd use control(w/o alt) or
meta to do insertion of a ASCII character.
BUG=10846, 11070, 11165
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=14921
Patch Set 1 #
Total comments: 4
Patch Set 2 : '' #Patch Set 3 : '' #Messages
Total messages: 16 (0 generated)
|