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>
The latest CSSOM view editors draft extends a number of APIs (including
MouseEvent) to use 'double' for co-ordinates instead of 'int' (
 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.

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

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 16:48:08 UTC