W3C home > Mailing lists > Public > public-touchevents@w3.org > December 2013

TouchEvent sub-pixel precision

From: Rick Byers <rbyers@google.com>
Date: Tue, 17 Dec 2013 16:11:04 -0800
Message-ID: <CAFUtAY8aOgQ3JabOhb1yq64ZmLaokQG2MLfpdEkDHSFO8ZfRBQ@mail.gmail.com>
To: public-touchevents@w3.org
Cc: simonp@opera.com, glenn.adams@cox.com
Hi,
The latest CSSOM View editors draft proposes a modification to MouseEvent
(and others) to enable fractional co-ordinates:
http://dev.w3.org/csswg/cssom-view/#extensions-to-the-mouseevent-interface.
 This is most valuable in high-dpi scenarios (i.e. essentially all
tablets/phones and now many laptops) to provide more precise co-ordinates
to applications, so that they can result in maximum smoothness for slowly
moving elements.

I've suggested (https://www.w3.org/Bugs/Public/show_bug.cgi?id=24095) that
if they're going to modify MouseEvent for this, they should modify Touch at
the same time.  Without this, for example, it's impossible to implement
scrolling in JavaScript that is as smooth as browser native scrolling.  I
don't think there's any good reason for Touch to be 2nd class to mouse in
this regard.

Thoughts?
  Rick
Received on Wednesday, 18 December 2013 00:11:52 UTC

This archive was generated by hypermail 2.3.1 : Monday, 23 October 2017 12:27:03 UTC