Re: Transformed Pointer Coordinates?

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:08 UTC