Open Bug 1640552 Opened 6 years ago Updated 6 years ago

Firefox does not dispatch `keypress` event for control characters on macOS even when it's explicitly inputted

Categories

(Core :: DOM: UI Events & Focus Handling, defect)

x86_64
macOS
defect

Tracking

()

People

(Reporter: masayuki, Unassigned)

References

(Depends on 1 open bug, Blocks 1 open bug)

Details

Attachments

(1 obsolete file)

On macOS, control character can be inputted with Unicode Hex input IME. On Chrome, it's exposed as a keypress event even if it's a control character. On Safari, it's exposed only with beforeinput event if focused element is editable. For compatibility with Chrome and our behavior on Windows, we should dispatch keypress event.

Like on Windows, TextInputHandler should dispatch keypress event for
web apps which want to handle control character input which is intentionally
inputted.

Attachment #9151418 - Attachment is obsolete: true

Resetting assignee which I don't work on in this several months.

Assignee: masayuki → nobody
Status: ASSIGNED → NEW
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: