Case ce-0034-composition-events-missing · Scenario scenario-composition-events

Composition events are not fired consistently for all IMEs

OS: macOS Ubuntu 22.04 Device: Desktop or Laptop Any Browser: Safari 120.0 Keyboard: Chinese IME Status: draft
ime composition events safari

Phenomenon

When using certain IMEs (Input Method Editors) like Chinese IME in Safari, composition events (compositionstart, compositionupdate, compositionend) may not fire consistently or may fire in an unexpected order.

Reproduction example

  1. Create a contenteditable div.
  2. Add event listeners for compositionstart, compositionupdate, and compositionend.
  3. Switch to Chinese IME.
  4. Start typing Chinese characters.
  5. Observe which events fire and in what order.

Observed behavior

  • In Safari on macOS with Chinese IME, composition events may not fire for all keystrokes.
  • The event order may be inconsistent.
  • Some composition operations may complete without firing compositionend.

Expected behavior

  • Composition events should fire consistently for all IMEs.
  • The event order should be predictable: compositionstartcompositionupdate (multiple) → compositionend.
  • All composition operations should properly signal their completion.

Browser compatibility matrix

This matrix shows which browser and OS combinations have documented cases for this scenario. The current case is highlighted. Click on a cell to view other cases.

Current case
Confirmed
Draft
No case documented

All variants (detailed table)

Complete list of all cases for this scenario with full environment details.

Case OS Device Browser Keyboard Status
ce-0034-composition-events-missing macOS Ubuntu 22.04 Desktop or Laptop Any Safari 120.0 Chinese IME draft
ce-0567-safari-composition-event-order macOS 15.0 Desktop Any Safari 18.0 Japanese IME confirmed

Playground for this case

Use the reported environment as a reference and record what happens in your environment while interacting with the editable area.

Reported environment
OS: macOS Ubuntu 22.04
Device: Desktop or Laptop Any
Browser: Safari 120.0
Keyboard: Chinese IME
Your environment
Sample HTML:
Event log
Use this log together with the case description when filing or updating an issue.
0 events
Interact with the editable area to see events here.

Comments & Discussion

Have questions, suggestions, or want to share your experience? Join the discussion below.