W3C home > Mailing lists > Public > public-fx@w3.org > January to March 2013

Re: Transformed Pointer Coordinates?

From: Robert O'Callahan <robert@ocallahan.org>
Date: Wed, 30 Jan 2013 16:34:43 +1300
Message-ID: <CAOp6jLaRx8FZ9pL90at9-ezZX4h8_o-KT8FaHSgUHwYa5ysfXg@mail.gmail.com>
To: Simon Fraser <smfr@me.com>
Cc: Doug Schepers <schepers@w3.org>, public-pointer-events@w3.org, public-fx@w3.org, www-style@w3.org
On Wed, Jan 30, 2013 at 7:58 AM, Simon Fraser <smfr@me.com> wrote:

> WebKit has, on DOMWindow,
>
>     WebKitPoint webkitConvertPointFromPageToNode(in Node node, in
> WebKitPoint p);
>     WebKitPoint webkitConvertPointFromNodeToPage(in Node node,  in
> WebKitPoint p);
>
> and
>
> interface WebKitPoint {
>     attribute float x;
>     attribute float y;
> };
>
> for this purpose, which I think is a reasonable approach.
>

A lot of sites use it. We should standardize it, or something very close to
it.

Rob
-- 
Jesus called them together and said, “You know that the rulers of the
Gentiles lord it over them, and their high officials exercise authority
over them. Not so with you. Instead, whoever wants to become great among
you must be your servant, and whoever wants to be first must be your
slave — just
as the Son of Man did not come to be served, but to serve, and to give his
life as a ransom for many.” [Matthew 20:25-28]
Received on Wednesday, 30 January 2013 03:35:17 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 19:49:44 UTC