[editing] change of event names beforeInput -> beforeEdit -> beforeInput? (#87)

At the F2F we talked about the name of the events we are going to fire beforeInput/Input:  http://www.w3.org/2015/08/24-webapps-minutes.html . The end of that discussion seems to have been lost in the minutes, at least I remember it as that we did change the name of the event.

However, we now find that Google disagrees with that change: https://github.com/w3c/editing/issues/73#issuecomment-135037793

Also, I found that the reason we only found a number of broken links to the event in other specs is that the Input event was removed from other specs because it was now specified in our spec.

Some more things I discovered: 

* The beforeInput event is actually mentioned in several other specs. For example here: https://w3c.github.io/uievents/#h-sync-async or https://w3c.github.io/uievents/#h-events-keyboard-event-order but with a broken link. It is described as synchronous (correctly) and I also think ti describes correctly the order of events.
* At above links the beforeInput event is described as "only for keys which produce a character value". I don't think that corresponds to how we want to use that event with formatting bold, etc..
* Here it describes the InputEvent: https://developer.mozilla.org/en-US/docs/Web/API/InputEvent but the link to the specification gives us another dead link. I can see that the event was removed from that spec in January: https://github.com/w3c/uievents/commit/b2bd0cfea66b00a0fc7f25993716a3374db90beb due to a bug report by Gary Kacmarcik (Google) https://lists.w3.org/Archives/Public/www-dom/2015JanMar/0029.html


.... so altogether it seems as if the beforeInput/Input events mentioned other places are earlier versions of the event we have been describing in this spec until it changed name due to the decisions of the F2F.

Testing it out on Chrome and FF, it doesn't look like the input event on cE=true elements holds any information.

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

Received on Thursday, 27 August 2015 10:11:14 UTC