> I have a log output field which should scroll down when the text gets
> long and scrollbars are visible.
> Also I tried setting offsetTop and scrollTop without success, as expected.
Why as expected?
If you have the textarea element object then
element.scrollTop = element.scrollHeight;
should scroll the textarea to the end.
If it does not then please tell us exactly which Mozilla version you use
and whether that is an HTML textarea or you are doing some XUL stuff.