At the above url observe that "child" or "sub" windows created using window.open(URL,"display",'width=500,height=550') produce a smaller window than requested. For example, look at B & W photos and select San Francisco. Note the scroll bars. Now try this in IE5.5, NN6.2.2, Opera 6.02, ... and see that that a fixed size window opens and the photos (images) are fully displayed and the controls to view different images are in the opened window.
*** Bug 165534 has been marked as a duplicate of this bug. ***
Created attachment 104693 [details] An 181px width x 182px height image This will be the image acting as the url of child secondary popup windows. Next attachment is going to be the parent document.
Created attachment 104694 [details] Main parent window of the testcase If the parent vs child interrelated windows work well on bugzilla.mozilla.org, then I'll comment on the testcase later. I'm not sure this will work.
I have another demo case which identifies in a reliable manner the browser default values of margin, border, padding for the document root element and the body element. When the image is loaded into child secondary popup window taking into consideration these browser default values, then image is perfectly centered and the popup is correctly sized, fitting the content. The submitted testcase does not work on the server for MSIE 6 but you can try it locally (you'll need to rename the image file).
Mass-reassigning bugs to email@example.com