W3C home > Mailing lists > Public > public-pointer-events@w3.org > October to December 2013

Sub-pixel coordinate granularity

From: Rick Byers <rbyers@google.com>
Date: Tue, 17 Dec 2013 16:13:15 -0800
Message-ID: <CAFUtAY9z7OtQsXjAnGMAPdOfQxkKRHgkoGts8nGYfQAnpOgTUg@mail.gmail.com>
To: "public-pointer-events@w3.org" <public-pointer-events@w3.org>
Hi,
The latest CSSOM view editors draft extends a number of APIs (including
MouseEvent) to use 'double' for co-ordinates instead of 'int' (
http://dev.w3.org/csswg/cssom-view/#extensions-to-the-mouseevent-interface).
 Since PointerEvent extends MouseEvent, we'd get this improved definition
"for free".  I think this is valuable, for example, when implementing
javscript-driven touch dragging or scrolling which should be just as smooth
as native browser scrolling.

Thoughts?
   Rick
Received on Wednesday, 18 December 2013 00:14:03 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 20:20:25 UTC