Closed
Bug 255919
Opened 21 years ago
Closed 21 years ago
scrollbars appear on js authored popup, either when scrollbars is not specifically declared, or if scrollbars is set to "no."
Categories
(www.mozilla.org :: General, defect)
Tracking
(Not tracked)
RESOLVED
WORKSFORME
People
(Reporter: esolutions, Assigned: bugs)
References
()
Details
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7) Gecko/20040803 Firefox/0.9.3
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7) Gecko/20040803 Firefox/0.9.3
A js authored popup is launched, and FF adds scrollbars, with (scrollbars=no, or
scrollbars=0) or without the scrollbars attribute being declared in the script.
Also, in the body tag of the popup, topmargin, leftmargin, marginwidth, &
marginheight, are all set to zero. Moreover, the popup is 640x480, and the page
contains nothing but a 640x480 image, with its border property set to zero. The
problem seems to be related to the fact that image is wrapped in an anchor
tag--if the anchor is removed, the scrollbars disappear. Furthermore, if the
page [containing the image and anchor] is reloaded, the scrollbars also
disappear. This appears to be stemming from the fact the the popup's markup is
produced by the document.writeln() method, and FF is unable to render the page
correctly the first time, i.e., without reloading the page. By way of
background, I am on a PC, WindowsXP, Mozilla/5.0 (Windows; U; Windows NT 5.1;
en-US; rv:1.7) Gecko/20040803 Firefox/0.9.3, as reported above. So far, this
script has been tested in NN4.06(js 1.3), IE5.0, and IE 6.0. None of which add
scrollbars to the page.
Reproducible: Always
Steps to Reproduce:
1.Just click on one of the thumbnailed images. The generated popup should NOT
produce scrollbars of any kind.
Actual Results:
Added scrollbars to the popup.
Expected Results:
Not added scrollbars to the popup.
Comment 1•21 years ago
|
||
Quote from the popup
<body topmargin=0 marginheight=0 leftmargin=0 marginwidth=0 scroll=no>
should be
<body topmargin=0 marginheight=0 leftmargin=0 marginwidth=0 scrolling=no>
->INVALID
Status: UNCONFIRMED → RESOLVED
Closed: 21 years ago
Resolution: --- → INVALID
Summary: scrollbars appear on js authored popup, either when scrollbars is not specifically declared, or if scrollbars is set to "no." → scrollbars appear on js authored popup, either when scrollbars is not specifically declared, or if scrollbars is set to "no."
| Reporter | ||
Comment 2•21 years ago
|
||
(In reply to comment #1)
> Quote from the popup
> <body topmargin=0 marginheight=0 leftmargin=0 marginwidth=0 scroll=no>
> should be
> <body topmargin=0 marginheight=0 leftmargin=0 marginwidth=0 scrolling=no>
> ->INVALID
Status: RESOLVED → UNCONFIRMED
Resolution: INVALID → ---
| Reporter | ||
Comment 3•21 years ago
|
||
As I emailed you, this page is in a state of flux (non-static), as I am trying
everthing under the sun to try to get it to render properly in FF--scroll=no
was an admittedly desperate attempt, but neither does scrolling=no produce the
desired effect. I can see no explanation for this behavior, except that it is
a legitimate bug, attested to by the fact that, when reloaded, the page
renders properly, without scrollbars of any kind.
Status: UNCONFIRMED → RESOLVED
Closed: 21 years ago → 21 years ago
Resolution: --- → WONTFIX
| Reporter | ||
Comment 4•21 years ago
|
||
As I emailed you, this page is in a state of flux (non-static), as I am trying
everthing under the sun to try to get it to render properly in FF--scroll=no
was an admittedly desperate attempt, but neither does scrolling=no produce the
desired effect. I can see no explanation for this behavior, except that it is
a legitimate bug, attested to by the fact that, when reloaded, the page
renders properly, without scrollbars of any kind.
| Reporter | ||
Comment 5•21 years ago
|
||
Indifferance! I'll not be wasting my time again. Good luck.
Status: RESOLVED → UNCONFIRMED
Resolution: WONTFIX → ---
Comment 6•21 years ago
|
||
<html><head><title>Large Image</title><style
type="text/css">img{border:0;body{width:640px;height:640px;margin:0;overflow:hidden;}</style></head><body><a
href="javascript:window.close();"><img
src="7A-3347SU_files/61264-1.jpg"></a></body></html>
WFM with some CSS
Status: UNCONFIRMED → RESOLVED
Closed: 21 years ago → 21 years ago
Resolution: --- → WORKSFORME
Comment 7•20 years ago
|
||
--> Websites :: www.mozilla.com so timeless can close out Firefox :: Product Site.
Component: Product Site → www.mozilla.com
Product: Firefox → Websites
Updated•18 years ago
|
QA Contact: www-mozilla-com
Updated•13 years ago
|
Component: www.mozilla.org/firefox → www.mozilla.org
Updated•13 years ago
|
Component: www.mozilla.org → General
Product: Websites → www.mozilla.org
You need to log in
before you can comment on or make changes to this bug.
Description
•