Consider dispatching keyboard events for astral-character keystrokes
Categories
(Core :: Widget: Gtk, defect, P5)
Tracking
()
People
(Reporter: hsivonen, Unassigned)
References
Details
The Gtk widget implementation has this comment:
// If the character code is in the BMP, send the key press event.
// Otherwise, send a compositionchange event with the equivalent UTF-16
// string.
// TODO: Investigate other browser's behavior in this case because
// this hack is odd for UI Events.
IE and EdgeHTML-based Edge can dispatch keyboard events whose key
string has two UTF-16 code units forming a surrogate pair. See bug 1541349.
Especially on the assumption that IE is historically Web compatible, we should consider removing the hack to map astral keystrokes to composition events in the Gtk widget.
Reporter | ||
Comment 1•6 years ago
|
||
(In reply to Henri Sivonen (:hsivonen) from comment #0)
Especially on the assumption that IE is historically Web compatible, we should consider removing the hack to map astral keystrokes to composition events in the Gtk widget.
IE has been able to report a single keystroke (with a surrogate pair in the key
string) per astral keystroke since at least IE9 on Windows 7. (The test case is incompatible with earlier IE.)
Updated•6 years ago
|
Updated•2 years ago
|
Description
•