On 28/09/09 12:30 AM, aditya somani wrote:
Can anyone tell me how to get the visual position/ bounding box a text
node while displayed on a browser? I intend to process this
information and use this in a java program.

Very recently we added support for the getClientRects and getBoundingClientRect methods on the DOM Range object. See
http://www.w3.org/TR/cssom-view/#extensions-to-the-range-interface

These can do what you want.

Rob
_______________________________________________
dev-tech-layout mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-tech-layout

Reply via email to