I am trying to test Firebug UI and I need to wait until the script panel
has been rendered so I can set a breakpoint on a line.
I can use DOMNodeInserted to see elements put in, but I must be doing
this 'too soon', because the script panel logic decides the panel has
clientHeight zero, no room for any source lines.
I am running in the load handler for the window; the script panel is in
a browser:
window
browser
document
div <-- clientHeight 0
If I set a load handler on the browser from within the load handler for
the window, it never fires. I assume that means the load is already
complete.
So the document is loaded but I need to know how tall it is to fill it.
Suggestions?
Thanks,
jjb
_______________________________________________
dev-tech-layout mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-tech-layout