Hi Simon, Rob- On 1/29/13 10:34 PM, Robert O'Callahan wrote: > On Wed, Jan 30, 2013 at 7:58 AM, Simon Fraser 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. This is pretty much what I had in mind (and I'm a little embarrassed that I didn't know about the WebKit methods). It's reasonable to make this a general solution, so any suggestions where it should go? CSS Transforms spec? CSSOM spec? DOM spec? Regards- -DougReceived on Wednesday, 30 January 2013 03:52:42 UTC
This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 19:49:44 UTC