[editing] RESOLUTION: We will have typing with compositionstart (cancelable) when you can set a selection point, then a series on non cancelable beforeinputs to replace text, and two kinds of delete events - one inside composition not cancelable, and a "normal" one to be handled by the application (#84)

As I understand this, we will add a second delete editType to the beforeEdit/Edit events, with name "deleteComposition" which will only work in cE=typing and above, and which cannot be cancelled.

Which makes me wonder: Is "startcomposition" fired in cE=events/caret? If so, the JS could then move the caret to a cE=typing container to get the IME input, and then back to the cE=caret container when done. That way application devs could have a cE=caret element as their main edit window, use the shadowmDOM/root trick to get IME input, yet still not have to worry about new editTypes in future browser versions that would change the DOM in an uncontrolled manner.

If not possible -- no big deal. Application authors simply will need to keep their app updated and current with the latest spec version.

---
Reply to this email directly or view it on GitHub:
https://github.com/w3c/editing/issues/84

Received on Tuesday, 25 August 2015 14:55:10 UTC