RE: Proposal for Input Events - inputType and default actions

I have now updated the live demo to show the changes in this document

http://w3c.github.io/editing-explainer/demos/CEtyping.html

-----Original Message-----
From: Ben Peters 
Sent: Wednesday, February 18, 2015 11:10 AM
To: public-editing-tf
Subject: 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 Thursday, 19 February 2015 23:28:01 UTC