I using fedora 11 and firefox 3.0.14.

When I open a webpage with an image resized from 50x50 to 40x40 using html code, there exists an unexpected left and top border.

<img src="file:///myfile.jpg" width="40" height=40" border="0"></img>

Already set border="0" and style="border: none", the border still exists.

It shows prefectly when no resize or resize to a larger image.

<img src="file:///myfile.jpg"></img>
<img src="file:///myfile.jpg" width="60" height="60"></img>


Is it a bug?