Contact emails
Design doc/Spec
Summary
Move touch adjustment to the “touchstart” event, use this adjusted target for the subsequent touch events. Apply the adjusted point to corresponding gesture event, so that touch events and synthesized mouse events should be dispatched to the same node. Apply an upper bound of 16 dips to touch adjustment range for both desktop and mobile.
See the design doc for specific finch trial results.
Link to “Intent to Implement” blink-dev discussion
Is this feature supported on all six Blink platforms (Windows, Mac, Linux, Chrome OS, Android, and Android WebView)?
Yes
Demo link
http://output.jsbin.com/losawen/quiet
Debuggability
Yes. Developers should have an improved experience because the targets synthesized mouse events and touch events should be the same now.
Risks
Interoperability and Compatibility
Touch adjustment is not spec’ed feature. It’s hard to interop. The risk should be low since it’s a minor change and it’s not very visible to users. Finch data shows that about 98% of events currently dispatched would be dispatched exactly the same with the proposed changes.
Edge: Adjust both coordinates and targets for touchevents & click events
Firefox: No touch adjustment at all
Safari: Adjusts ‘click’ target and coordinates, no adjustment on touch events (Chrome’s previous behavior)
Web developers: No signals
Ergonomics
N/a.
Activation
N/a. This is not an api change but a behaviour change of an existing feature. No code needs to change for current websites. It’s more like a bug fixing to users since they wouldn’t expect synthesized mouseevent target is different from touchevent target.
Is this feature fully tested by web-platform-tests? Link to test suite results from wpt.fyi.
No.
Entry on the feature dashboard
https://www.chromestatus.com/feature/4895751150764032
--
You received this message because you are subscribed to the Google Groups "blink-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to blink-dev+...@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CAGbAJuFYzRXwGZ%3Dxo8K_78-pq95nH03u2zNHD36jL0EmcqL-2Q%40mail.gmail.com.
Makes sense. I had some trouble changing 16 dip to a physical size though. Is it a static size for all platforms? (Some site claimed a definition of dip that would make 16 dip mean 2.5 mm on Android and 4.5 mm on a Windows laptop and I think it can be assumed that Android and Windows users have equivalent fingers).
Possibly it would be better to change the coordinates as well to create internal consistency. Yes, it might forever snap a click between elements to an element nearby but will that surprise a site developer more or less than the coordinates being outside the element?
What happens if someone uses a stylus and suddenly get a much higher precision and accuracy?
To unsubscribe from this group and stop receiving emails from it, send an email to blink-dev+unsubscribe@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CAGbAJuFYzRXwGZ%3Dxo8K_78-pq95nH03u2zNHD36jL0EmcqL-2Q%40mail.gmail.com.
To unsubscribe from this group and stop receiving emails from it, send an email to blink-dev+...@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CAGbAJuFYzRXwGZ%3Dxo8K_78-pq95nH03u2zNHD36jL0EmcqL-2Q%40mail.gmail.com.
--/* Opera Software, Linköping, Sweden: CEST (UTC+2) */
--
You received this message because you are subscribed to the Google Groups "blink-dev" group.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/0093e72d-2360-479d-9c9e-8c46d7b44b3b%40chromium.org.
To unsubscribe from this group and stop receiving emails from it, send an email to blink-dev+...@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CAGbAJuFYzRXwGZ%3Dxo8K_78-pq95nH03u2zNHD36jL0EmcqL-2Q%40mail.gmail.com.
--/* Opera Software, Linköping, Sweden: CEST (UTC+2) */
--
You received this message because you are subscribed to the Google Groups "blink-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to blink-dev+...@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/0093e72d-2360-479d-9c9e-8c46d7b44b3b%40chromium.org.
Hi,Was any progress made on specifying the behavior here? In particular, see my response on the intent-to-implement thread for the kind of spec I have in mind.
Thanks,Chris
To unsubscribe from this group and stop receiving emails from it, send an email to blink-dev+unsubscribe@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CAGbAJuFYzRXwGZ%3Dxo8K_78-pq95nH03u2zNHD36jL0EmcqL-2Q%40mail.gmail.com.
--/* Opera Software, Linköping, Sweden: CEST (UTC+2) */
--
You received this message because you are subscribed to the Google Groups "blink-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to blink-dev+unsubscribe@chromium.org.
To unsubscribe from this group and stop receiving emails from it, send an email to blink-dev+unsubscribe@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CAGbAJuFYzRXwGZ%3Dxo8K_78-pq95nH03u2zNHD36jL0EmcqL-2Q%40mail.gmail.com.
To unsubscribe from this group and stop receiving emails from it, send an email to blink-dev+...@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CAGbAJuFYzRXwGZ%3Dxo8K_78-pq95nH03u2zNHD36jL0EmcqL-2Q%40mail.gmail.com.
--/* Opera Software, Linköping, Sweden: CEST (UTC+2) */
--
You received this message because you are subscribed to the Google Groups "blink-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to blink-dev+...@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/6937165e-457b-4d3d-b8db-1170e89be501%40chromium.org.
On Monday, March 26, 2018 at 2:26:21 PM UTC-4, Chris Harrelson wrote:Hi,Was any progress made on specifying the behavior here? In particular, see my response on the intent-to-implement thread for the kind of spec I have in mind.The hit targeting thing is not well specced anywhere, so I'm not sure if it's possible to specifying the behavior. I just open an issue with touch-event spec to see if we can add a not to let developer aware of the adjusting.
Thanks,Chris
To unsubscribe from this group and stop receiving emails from it, send an email to blink-dev+...@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CAGbAJuFYzRXwGZ%3Dxo8K_78-pq95nH03u2zNHD36jL0EmcqL-2Q%40mail.gmail.com.
--/* Opera Software, Linköping, Sweden: CEST (UTC+2) */
--
You received this message because you are subscribed to the Google Groups "blink-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to blink-dev+...@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/0093e72d-2360-479d-9c9e-8c46d7b44b3b%40chromium.org.
--
You received this message because you are subscribed to the Google Groups "blink-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to blink-dev+...@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/94813df3-982b-4f10-932e-4234bad8fb94%40chromium.org.
On Wed, Mar 28, 2018 at 12:51 PM <eir...@chromium.org> wrote:
On Monday, March 26, 2018 at 2:26:21 PM UTC-4, Chris Harrelson wrote:Hi,Was any progress made on specifying the behavior here? In particular, see my response on the intent-to-implement thread for the kind of spec I have in mind.The hit targeting thing is not well specced anywhere, so I'm not sure if it's possible to specifying the behavior. I just open an issue with touch-event spec to see if we can add a not to let developer aware of the adjusting.In the intent to implement, I said that it seems possible/straightfoward to spec "what happens to the events generated as result of those adjustments" (as opposed to the algorithm for determining adjustment).I am also concerned about an interop risk. Do other browsers think the approach you are proposing to ship is the right way to go? If not, this intent will decrease interop. The lack of WPT tests is also another signal of not moving towards interop.
Thanks,Chris
To unsubscribe from this group and stop receiving emails from it, send an email to blink-dev+unsubscribe@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CAGbAJuFYzRXwGZ%3Dxo8K_78-pq95nH03u2zNHD36jL0EmcqL-2Q%40mail.gmail.com.
--/* Opera Software, Linköping, Sweden: CEST (UTC+2) */
--
You received this message because you are subscribed to the Google Groups "blink-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to blink-dev+unsubscribe@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/0093e72d-2360-479d-9c9e-8c46d7b44b3b%40chromium.org.
--
You received this message because you are subscribed to the Google Groups "blink-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to blink-dev+unsubscribe@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/e7ae75c7-6744-4b8f-88a5-7f20a598255f%40chromium.org.
Thanks,Chris
To unsubscribe from this group and stop receiving emails from it, send an email to blink-dev+...@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CAGbAJuFYzRXwGZ%3Dxo8K_78-pq95nH03u2zNHD36jL0EmcqL-2Q%40mail.gmail.com.
--/* Opera Software, Linköping, Sweden: CEST (UTC+2) */
--
You received this message because you are subscribed to the Google Groups "blink-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to blink-dev+...@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/0093e72d-2360-479d-9c9e-8c46d7b44b3b%40chromium.org.
--
You received this message because you are subscribed to the Google Groups "blink-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to blink-dev+...@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/94813df3-982b-4f10-932e-4234bad8fb94%40chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/e7ae75c7-6744-4b8f-88a5-7f20a598255f%40chromium.org.--
You received this message because you are subscribed to the Google Groups "blink-dev" group.
--
You received this message because you are subscribed to the Google Groups "blink-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to blink-dev+...@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CAFUtAY_NjLc7xMeGrtj0U_cngtUjb25_-f6D3OS%2BjgwnxgBO8A%40mail.gmail.com.