Closed Bug 246510 Opened 20 years ago Closed 20 years ago

Additional Space in Popupwindow shows Scrollbars

Categories

(Core :: Layout, defect)

x86
All
defect
Not set
normal

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: mozilla_alt_support, Unassigned)

References

()

Details

(Keywords: qawanted)

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7) Gecko/20040514
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7) Gecko/20040514

If i show a Popupwindow containing an Image exactly fittet, the current
Browserversion shows additional Space below the Image causing the Scrollbars
to appear. 
With Mozilla 1.6 and before everything was fine, with 1.7RC2 and RC3 the Problem
exists.

Reproducible: Always
Steps to Reproduce:
1.
2.
3.

Actual Results:  
Scrollbars appear in Popup Window because of additional space under Image

Expected Results:  
No Scrollbars

<html>
<head>
<title>Bug in Mizilla 1.7</title></head>
<script language="JavaScript">
<!--
	Optionen="toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=0,resizable=0,height=150,width=209";
	bildfenster=window.open("","",Optionen);
  with(bildfenster.document){
		write("<html><head><title>Zoombild</title></head>");
		write("<body
bgcolor=\"#c6c6c6\"marginheight=\"0\"marginwidth=\"0\"topmargin=\"0\"leftmargin=\"0\">");
		write("<a href=\"javascript:self.close()\">");
		write("<img
src=\"http://www.mozilla.org/images/mlogo.gif\"border=\"0\"alt=\"Close
Window!\"width=\"209\"height=\"150\"></a>");
		write("</body></html>");
		bildfenster.document.close();
}
//-->
</script>
<body bgcolor="#c6c6c6" marginheight="0" marginwidth="0" topmargin="0"
leftmargin="0">
Shows Scrollbars at Popup on Mozilla 1.7RC2 and RC3<br>
Mozilla 1.6 was ok (if the image height is at least 150px)<br>
</body></html>
Mozilla 1.6 was Ok (if the image height is at least 150px)
Mozilla 1.7A was Ok
Mozilla 1.7RC1(1.7B) (21.4.) FAIL
Mozilla 1.7RC2 FAIL
Mozilla 1.7RC3 FAIL
Mozilla 1.8A1 FAIL
The Bug exists on 1.7 Final and 1.71 also.

Hello, is there anybody who can confirm this bug?
Version: Trunk → Other Branch
Keywords: qawanted
The Bug still exists in 1.73 and 1.8A2.
this worksforme with linux trunk 2004091806 (although I could see the problem
with builds up to 1.8a2)
Klaus: can you still reproduce this with a nightly build?
OS: Windows 2000 → All
Version: Other Branch → Trunk
(In reply to comment #4)
I have tried the Mozilla 1.8A4 Nightly 20040923 and found it not completely fixed.

The original Bug with the additional space of an empty <a></a> Section is fixed,
but a new Bug is implemented... 

If i show the Popup with the OnClick= then everything looks good now,
but if i show the Popup with the OnLoad= in the body Statement then the 
Size of the Popup is too large. The Size is also too large if no empty 
<a></a>Section is in it
I don't need it in the OnLoad, but it should work also.
You can test this here:
http://212.1.43.17/moz17bug.html
Bug 246510 is Fixed in Mozilla Version 1.8A4
(1.8A3 not tested)

Opened a new Bug 262411 for the new issue implemented in 1.8A4
Status: UNCONFIRMED → RESOLVED
Closed: 20 years ago
Resolution: --- → FIXED
No bug / patch referenced as the fix.

->WORKSFORME
Status: RESOLVED → UNCONFIRMED
Resolution: FIXED → ---
Status: UNCONFIRMED → RESOLVED
Closed: 20 years ago20 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.