Hindi IME Devanagari conjunct and vowel sign composition issues in Chrome
OS: Windows 11 · Device: Desktop or Laptop Any · Browser: Chrome 120.0
Open case →Scenario
Scripts that use combining marks, conjuncts, or tone marks (e.g. Thai, Devanagari, Vietnamese, Cyrillic) may compose differently across browsers. Diacritics can be lost, reordered, or split across DOM nodes when the editor normalizes or wraps text during composition.
Scripts that use combining marks, conjuncts, or tone marks (e.g. Thai, Devanagari, Vietnamese, Cyrillic) may compose differently across browsers. Diacritics can be lost, reordered, or split across DOM nodes when the editor normalizes or wraps text during composition.
Unicode combining sequences and grapheme clusters do not always map 1:1 to DOM Text nodes or to editor transactions. Frameworks that slice strings by JavaScript length or insert zero-width characters for placeholders can break Indic or Thai input.
Corrupted words, broken spell-check ranges, and undo stacks that do not match user expectations.
Harfbuzz shaping and platform IMEs differ; Safari vs Chrome on the same OS can diverge for Vietnamese and Thai.
Intl.Segmenter or libraries) when mutating text during composition.Text nodes during compositionupdate unless necessary.compositionend.Visual view of how this scenario connects to its concrete cases and environments. Nodes can be dragged and clicked.
Each row is a concrete case for this scenario, with a dedicated document and playground.
| Case | OS | Device | Browser | Keyboard | Status |
|---|---|---|---|---|---|
| ce-0177-thai-ime-tone-mark-positioning-firefox | Windows 11 | Desktop or Laptop Any | Firefox 120.0 | Thai (IME) | draft |
| ce-0178-vietnamese-ime-diacritic-loss-chrome | Windows 11 | Desktop or Laptop Any | Chrome 120.0 | Vietnamese (IME) | draft |
| ce-0180-hindi-ime-devanagari-conjuncts-chrome | Windows 11 | Desktop or Laptop Any | Chrome 120.0 | Hindi (IME - Devanagari) | draft |
| ce-0206-russian-ime-cyrillic-composition-chrome | Windows 11 | Desktop or Laptop Any | Chrome 120.0 | Russian (IME - Cyrillic) | draft |
This matrix shows which browser and OS combinations have documented cases for this scenario. Click on a cell to view the specific case.
| Browser | Windows |
|---|---|
| Chrome | |
| Firefox |
This scenario affects multiple languages. Cases are grouped by language/input method below.
OS: Windows 11 · Device: Desktop or Laptop Any · Browser: Chrome 120.0
Open case →OS: Windows 11 · Device: Desktop or Laptop Any · Browser: Chrome 120.0
Open case →OS: Windows 11 · Device: Desktop or Laptop Any · Browser: Firefox 120.0
Open case →OS: Windows 11 · Device: Desktop or Laptop Any · Browser: Chrome 120.0
Open case →Other scenarios that share similar tags or category.
Tab moves focus by default. During IME composition, Tab may cancel composition, cycle candidates, or be captured by the editor for indentation—behavior differs for Chinese, Thai, and Safari vs Firefox.
During active IME composition, pressing Space may commit the segment, insert a literal space, be ignored, or cancel composition—depending on language, IME, and browser. Editors that assume Space always inserts U+0020 can lose characters or break composition state.
During IME composition or in certain browser/IME combinations, the beforeinput event may have a different inputType than the corresponding input event. For example, beforeinput may fire with insertCompositionText while input fires with deleteContentBackward. This mismatch can cause handlers to misinterpret the actual DOM change and requires storing beforeinput's targetRanges for use in input event handling.
The selection (window.getSelection()) in beforeinput events can differ from the selection in corresponding input events. This mismatch can occur during IME composition, text prediction, or when typing adjacent to formatted elements like links. The selection in beforeinput may include adjacent formatted text, while input selection reflects the final cursor position.
Some beforeinput events during IME composition cannot be canceled per spec or implementation—calling preventDefault may throw or be ignored, so editors cannot always block native insertion.
Have questions, suggestions, or want to share your experience? Join the discussion below.