Open Bug 850806 Opened 7 years ago Updated 5 years ago

Implement webkitConvertPointFromNodeToPage

Categories

(Core :: Layout, defect)

defect
Not set

Tracking

()

People

(Reporter: lmandel, Unassigned)

References

(Depends on 1 open bug)

Details

(Keywords: dev-doc-needed)

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: 1107559
You need to log in before you can comment on or make changes to this bug.