>
> I don't think it's a good idea to have document.elementFromPoint take
> viewport coordinates but document.elementsFromPoint take document
> coordinates.
>
Uhm, who said document.elementsFromPoint() would take document coordinates?
Did you mean <element>.caretPositionFromPoint()? If so, how to solve the
overlapping problem then?
Btw. what is caretPositionFromPoint() expected to return? A character
offset?
I think elementsFromPoint isn't a great name
>
How about getElementsAtPoint() and getCaretPositionAtPoint() to be
consistent with similar functions?
Sebastian