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

Re: Transformed Pointer Coordinates?

From: Tab Atkins Jr. <jackalmage@gmail.com>
Date: Tue, 29 Jan 2013 20:20:20 -0800
Message-ID: <CAAWBYDAvHYSDn5_2hZkLVYuL+XDLMnBA_Gvs4eiWhs2ea99rrA@mail.gmail.com>
To: Simon Fraser <smfr@me.com>
Cc: Doug Schepers <schepers@w3.org>, "public-pointer-events@w3.org" <public-pointer-events@w3.org>, "public-fx@w3.org" <public-fx@w3.org>, www-style list <www-style@w3.org>
On Tue, Jan 29, 2013 at 10: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.

Not particularly happy with the naming, but +1 on the ability *so much*.

I suspect it should go in CSSOM View?

~TJ
Received on Wednesday, 30 January 2013 04:21:12 UTC

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