Hey all, I'm trying to determine if there is a way to retrieve the starting coordinates or bounding rectangle for a range, for mozilla based browsers. AFAICS the only way to do this is to insert a zero width element into where the range exists, and then get the coordinates of the element, then removing the node and normalizing the parent element. Other than being rather kludgy, this method seems to be considerably slow when repeatedly called.
It was suggested in this post (https://bugzilla.mozilla.org/ show_bug.cgi?id=174397) that "currently, the bounding rectangle can be found but it is not very straight forward and it is very error prone". I'm not sure that this extended to ranges or not, IE seems to support the non W3C boundingLeft and boundingTop properties for a range object, which, other than being useless in pretty much every other scenario, is exactly what I require. What i'm trying to achieve is pretty similar to this post: http://groups.google.com/group/mozilla.dev.tech.layout/browse_thread/thread/3c1a9e5baee415a0/e048fbcc6643ec5b _______________________________________________ dev-tech-layout mailing list [email protected] https://lists.mozilla.org/listinfo/dev-tech-layout

