Re: [w3c/editing] beforeinput: Should we fire `replaceContent` during IME composition? (#122)

@johanneswilm Thanks for the explanation!

So if I'm understanding it correctly we only have `insertText` and `deleteComposedCharacter` during composition (but not `replaceContent`), my concern is how do we reflect changes to existing marked text? Or do we only care about user's actions?

For example on Mac with Japanese IME pressing the following key:
1. `s`, marked text: 's'       (with an underline)
2. `i`,                       'し'
3. `m`,                     'しm'
4. `i`,                       'シミ'
5. `ArrowDown`, marked text will keep changing

Do we just fire `insertText` for step 1-4 even if the existing marked text was changed?

Here is a demo for the above example:
![japime](https://cloud.githubusercontent.com/assets/2839070/14540851/2e5690b0-0255-11e6-9175-5e338908f133.gif)

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/122#issuecomment-210119184

Received on Thursday, 14 April 2016 19:48:31 UTC