john alden wrote: > Hi > > I am new to Mozilla. I am interested in knowing how the rendering engine > works. > > I want to traverse the DOM which has rendering information of each of its > node given its environment is fixed ( if the Window size, resolution etc is > fixed ). I am looking at only HTML pages. Is there any way in which i can > use Gecko to get what i need ? Any suggestions (or sample code) would be > great. Essentially i want to traverse the html page in the order it is > displayed to the user.
One way would be to apply the patch in https://bugzilla.mozilla.org/show_bug.cgi?id=174397. Then you can traverse the DOM calling getClientRects on each element. Rob _______________________________________________ dev-tech-layout mailing list [email protected] https://lists.mozilla.org/listinfo/dev-tech-layout

