> > 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? SebastianReceived on Friday, 26 October 2012 06:34:45 UTC
This archive was generated by hypermail 2.4.0 : Friday, 25 March 2022 10:08:23 UTC