views:

694

answers:

0

Hi,

On cnn.com with Firefox 3.5.3, there seems to be a bug with the measurements of document.body. It seems document.body.offsetHeight and document.body.scrollHeight both give the viewable height, thus same as document.body.clientHeight. Same with document.documentElement.offsetHeight and document.documentElement.clientHeight. Only document.documentElement.scrollHeight gives the right value 23xx pixels.

Is anyone else getting similar values? Is this a bug in Firefox?

Thanks