Additional Space in Popupwindow shows Scrollbars

RESOLVED WORKSFORME

Status

()

RESOLVED WORKSFORME
14 years ago
14 years ago

People

(Reporter: mozilla_alt_support, Unassigned)

Tracking

({qawanted})

Trunk
x86
All
qawanted
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

(URL)

(Reporter)

Description

14 years ago
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>
(Reporter)

Comment 1

14 years ago
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
(Reporter)

Comment 2

14 years ago
The Bug exists on 1.7 Final and 1.71 also.

Hello, is there anybody who can confirm this bug?
Version: Trunk → Other Branch
(Reporter)

Comment 3

14 years ago
The Bug still exists in 1.73 and 1.8A2.

Comment 4

14 years ago
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
(Reporter)

Comment 5

14 years ago
(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
(Reporter)

Comment 6

14 years ago
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
Last Resolved: 14 years ago
Resolution: --- → FIXED

Comment 7

14 years ago
No bug / patch referenced as the fix.

->WORKSFORME
Status: RESOLVED → UNCONFIRMED
Resolution: FIXED → ---

Updated

14 years ago
Status: UNCONFIRMED → RESOLVED
Last Resolved: 14 years ago14 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.