Re: [editing] Should Device-Specific Input Events say what Responsive Input Event they will cause? (#25)

The question is a bit here what event we will be looking at. Say we have a user who triple clicks on some text which on Windows/Linux causes that paragraph to be selected. The device independent event will be "paragraph selection". But what will the device specific event be? Will it simply be three consecutive clicking events which combined with some JS-based checking where exactly the caret was at the time? 

For good feature detection in JS, will this not mean that one needs to reimplement a lot of logic that is already present in the browser?

I am wondering about whether there are other ways of doing this -- for example for the browser to give back a list of all the device independent events that will be triggered by some action, possibly with a list of actions that cause this event. If the paragraph selection event is not implemented at all or it is triggered only by other types of events that do not include triple clicking, the JS editor developers may decide to implement it themselves.

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

Received on Monday, 3 August 2015 14:10:35 UTC