- From: Chong Zhang <notifications@github.com>
- Date: Wed, 13 Apr 2016 13:08:59 -0700
- To: w3c/editing <editing@noreply.github.com>
- Message-ID: <w3c/editing/issues/118/209625063@github.com>
Just to clarify UA should only fire `deleteComposedCharacter` during composition, but not for the deletion of final 'ComposedCharacter' after composition? For example in Chinese IME: 1. Press 'n', (fire `insertText` with data='n') 2. Press 'u', (fire `insertText` with data='u') 3. Press 'backspace', (**fire `deleteComposedCharacter`** because it's still during composition) 4. Press 'i', (fire `insertText` with data='i') 5. Press 'space' to accept, (fire `insertText`|`replaceContent` with data='你') 6. Press 'backspace', (**fire `deleteContent`** because it's outside composition even if the character to be deleted is a composed character) And also @johanneswilm do you mind pointing me to the discussion in F2F? I agree with @yosinch that having both is redundant since we already have [`isComposing`](https://w3c.github.io/uievents/#dom-inputevent-iscomposing) Thanks! --- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/w3c/editing/issues/118#issuecomment-209625063
Received on Wednesday, 13 April 2016 20:10:11 UTC