Hi,
I would like to know what structures and APIs are related with the coordinates of all focusable objects displayed on a HTML page rendered by the Mozilla layout engine. How easy is to map all the objects (links, images, iframes, forms, and so on) displayed to a customized data structure for handling and retrieve their position on the screen.
Can I retrieve these data using the DOM APIs? I mean, I know the objects of a page are "stored" on a DOM tree before they are displayed, but does this tree store graphical details about the objects?
http://msdn.microsoft.com/library/default.asp?url=/workshop/author/om/measuring.asp has all the ways of getting information like that from the DOM. There is no way to retrieve the position of a piece of text in a paragraph through the DOM. That's all I can tell you without more information on what you are trying to do. I don't really see why you want the position of everything on the page.
I'm not really sure if this is the correct mail list for posting this issue.. but any feedback could be very helpful!
If that doesn't answer your question, try posting on the MozillaZine forums: http://forums.mozillazine.org/index.php?c=7&sid=3df38feb3071b8731e594b1a68ed9448. The group you posted to is supposed to be for questions and comments about Mozilla development, not questions about using Mozilla.
_______________________________________________
mozilla-layout mailing list
[email protected]
http://mail.mozilla.org/listinfo/mozilla-layout
