Note the scrollWidth and scrollHeight for each image at the bottom of this page:
id="img_0" img (no src, no size):


id="img_1" img src="null" (no size):


id="img_2" img src="null" width="300" height="300" :


id="img_3" img src="" width="300" height="300" :


id="img_4" img src="th.jpg" (no size):


id="img_5" img src="th.jpg" width="300" height="300":