Steps to reproduce:
- In Firefox on Linux, edit <h1>ab<u>cd</u></h1>
- Press end, left, left (so the cursor is just after <u>)
- Type 'ㅎ' in Ibus Korean (i.e. press 'g')
Expected
The DM and DOM stay in sync
Observed
The character 'ㅎ' is underlined in the DM, but not in the DOM
Explanation
This is because the IME (like many others) doesn't emit keyDown events, so ve.ce.Surface#keyDownState.focusIsAfterAnnotationBoundary doesn't get used.