John J. Barton wrote:
window
browser
document
div <-- clientHeight 0
If so, then maybe my focus on clientHeight is wrong. What I need to know
is the pixel height of the browser element so I can compute the number
of source lines to render.
Why not just examine the height of the <browser> directly then? Either
via boxobject if you need backwards compat or via
getBoundingClientRect() for Gecko 1.9.1 or later.
Yeah; the onload for the window should wait for the browser onload if
the browser's src attribute is set in the markup.
Oh, that is the opposite of what I expected. Seems weird: how can I add
the load event handler on the contained browser unless I do it in the
window document load event handler?
Typical <xul:browser> usage doesn't set the src attribute in the source
XUL.
-Boris
_______________________________________________
dev-tech-layout mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-tech-layout