Proposal for Input Events - inputType and default actions

I have updated the draft of Input Event with ideas on how we could determine the inputType[1] and the default action[2]. Please let me know what you think.

Summary:
inputTypes are replaceText, insertNewline, formatContent, deleteContent, undo, redo
Only replaceText has a default behavior, and it depends on being contained in a text node
The shape of the event is heading the right direction but I don't think it's complete yet.

[1] http://w3c.github.io/editing-explainer/input-events.html#widl-InputEvent-inputType
[2] http://w3c.github.io/editing-explainer/input-events.html#default-action-for-beforeinput

Ben

Received on Wednesday, 18 February 2015 19:09:52 UTC