Closed
Bug 55330
Opened 25 years ago
Closed 25 years ago
window.open('','wins','scrollbars=1,width=500,height=100') is not work
Categories
(Core :: Layout, defect, P3)
Tracking
()
People
(Reporter: tato, Assigned: jst)
References
()
Details
Attachments
(2 files)
window.open('','wins','scrollbars=1,width=500,height=100') is not work
on 2000-10-02-08 Mac/Linux/Win
Comment 1•25 years ago
|
||
There is no problem here intially.
A new window is opened with width 500 and height 100.
As there is not content, no scrollbars appear.
(This behaviour is the same as netscape 4).
If url is given as the first arg
e.g.
window.open('http://www.mozilla.org/','wins','scrollbars=1,width=500,height=100')
The page is opened and scrollbars appear correctly.
The problem you are having, I guess, is that if you use javascript to write the
contents of the window, scrollbars do not appear as necessary.
I have added Bug 55334 to log this problem without the complication of new
windows being opened.
Comment 2•25 years ago
|
||
Comment 3•25 years ago
|
||
Comment 4•25 years ago
|
||
Browser, not engine. Reassigning to Layout for further triage -
Assignee: rogerl → clayton
Component: Javascript Engine → Layout
QA Contact: pschwartau → petersen
sounds like a javascript bug.
Severity=critical is reserverd for crashes, severe data loss, etc. Downgrading
to major. I'll let jst decide what the priority ought to be. You might just
dup this to bug 55334 (thanks, Conor!)
Assignee: clayton → jst
Severity: critical → major
Yes! I want to sey that is
<No scollbars for javascript generated content>bug 55334
Did you see sample of URL?
http://game.gr.jp/chkmoz/03/
thanx
the URL's code is
<script language="JavaScript">
<!--
function winOpen(){
var win08=window.open('','wins','scrollbars=1,width=500,height=100');
win08.document.write('only scrollbars');
win08.document.write('<br>www<br>www<br>www<br>www<br>www<br>www<br>www<br>www<
br>www<br>www');
win08.document.close();
}
//-->
</script>
<form>
<input type="button" value=" open "
onClick="winOpen()">
</form>
Comment 8•25 years ago
|
||
The difference between this bug and bug 55334 is that this bug involves opening
a new window and then using javascript to write dynamic content to it, whereas
55334 involves using javascript writing dynamic content to the current window.
The problem is to do with javascript writing the dynamic content and scrollbars
not appearing where necessary, and has nothing to do with the opening of a new
window.
I feel that opening the new window confuses the problem, and that is the reason
I logged 55334.
| Assignee | ||
Comment 9•25 years ago
|
||
Duping...
*** This bug has been marked as a duplicate of 55334 ***
Status: NEW → RESOLVED
Closed: 25 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•