Open Bug 850806 Opened 11 years ago Updated 1 year ago
Convert Point From Node To Page
As I understand it, webkitConvertPointFromNodeToPage is a requirement for implementing WebKitPoint (bug 850805) as the two are frequently used together. As such, if we are to fix bug 850805 we should do this as well. Reference: http://developer.apple.com/library/safari/#documentation/DataManagement/Reference/DOMWindowAdditionsReference/DOMWindowAdditions/DOMWindowAdditions.html Of interest link questioning the need for webkitConvertPointFromNodeToPage: https://github.com/jquery/jquery/pull/796
So is this just a conversion function from relative coordinates (e.g. within an element/node) to page coordinates? If so, I think much of the implementation that I did for caretPositionFromPoint might be able to be leveraged here.
Depends on: 918189
There is now a stub docs page for this: https://developer.mozilla.org/en-US/docs/Web/API/Window.convertPointFromNodeToPage
You need to log in before you can comment on or make changes to this bug.