W3C home > Mailing lists > Public > public-pointer-events@w3.org > January to March 2015

RE: New webkitmouseforce* events in WebKit

From: Jacob Rossi <Jacob.Rossi@microsoft.com>
Date: Thu, 26 Mar 2015 16:16:43 +0000
To: Rick Byers <rbyers@chromium.org>, "Patrick H. Lauke" <redux@splintered.co.uk>
CC: "public-pointer-events@w3.org" <public-pointer-events@w3.org>
Message-ID: <DM2PR0301MB1213C17E805BDDA62A6F3E75FE080@DM2PR0301MB1213.namprd03.prod.outlook.com>
From what I can tell, this all could probably be written as a library on top of pointer events with pressure wired up (with the exception of needing a hook to cancel whatever the “native force click behaviors” are).  I’m worried about the coding patterns this will prodcue and how that will behave in browsers that don’t support them. I haven’t given it much thought, but the likelihood of interoperability here seems poor (though a lack of standards consideration pretty much insists on this problem).

Not to mention, the “cancel this event to get a series of other events” follows the drag drop model, which I heard some web devs don’t like too much. ☺ [1]

[1]  (NSFW language here): http://www.quirksmode.org/blog/archives/2009/09/the_html5_drag.html

From: rbyers@google.com [mailto:rbyers@google.com] On Behalf Of Rick Byers
Sent: Thursday, March 26, 2015 4:43 PM
To: Patrick H. Lauke
Cc: public-pointer-events@w3.org
Subject: Re: New webkitmouseforce* events in WebKit

They do appear to be exposed to the web, and I think that's the whole point.  They want to enable web pages to have the same control over the force touch experience that native apps do: https://developer.apple.com/osx/force-touch/.

At least they're aggressively exposing native input functionality to the web - better that then encouraging developers to push MacOS apps instead of their websites IMHO :-)


On Thu, Mar 26, 2015 at 11:28 AM, Patrick H. Lauke <redux@splintered.co.uk<mailto:redux@splintered.co.uk>> wrote:
On 26/03/2015 15:24, Olli Pettay wrote:

Do you know if these are actually exposed to the web? I sure hope not. I
thought we all agree that vendor prefixes don't work and are harmful.

There is no "we" in "webkit". Oh, wait ;)

Patrick H. Lauke

www.splintered.co.uk<http://www.splintered.co.uk> | https://github.com/patrickhlauke

http://flickr.com/photos/redux/ | http://redux.deviantart.com

twitter: @patrick_h_lauke | skype: patrick_h_lauke

Received on Thursday, 26 March 2015 16:17:15 UTC

This archive was generated by hypermail 2.3.1 : Thursday, 26 March 2015 16:17:15 UTC