Closed Bug 232765 Opened 21 years ago Closed 19 years ago

scrollbars=no ignored in window.open() (again)

Categories

(Camino Graveyard :: General, defect, P3)

PowerPC
macOS
defect

Tracking

(Not tracked)

RESOLVED FIXED
Camino1.0

People

(Reporter: moz, Assigned: sfraser_bugs)

References

()

Details

Attachments

(1 file)

User-Agent:       
Build Identifier: Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.7a) Gecko/20040129 Camino/0.7+

When Camino opens a new window via window.open with scrollbars=no specified, and
the document in the new window is larger than the window, scrollbars still
appear. This does not happen in Mozilla proper.

Reproducible: Always
Steps to Reproduce:
1. Click a link that opens a new window via window.open() with scrollbars=no

Actual Results:  
Scrollbars appear on the new window, even though scrollbars=no is specified.

Expected Results:  
Not shown scrollbars on the new window.

The testcase opens a window with width and height of 200px, containing a
document a DIV set to width and height of 400px.

*** This bug has been marked as a duplicate of 160627 ***
Status: UNCONFIRMED → RESOLVED
Closed: 21 years ago
Resolution: --- → DUPLICATE
I fail to see how this is a duplicate. I understand the other bug, but this is
about JavaScript popups that explicitly declare "Hey, I don't want scrollbars!"
What if I decide to do some DHTML silliness that depends on a div that's larger
than the window scrolling about to show different parts of itself in the
viewport (okay, so I have done this)? I believe that scrollbars are wrong in
that case.
Not a dup.
Status: RESOLVED → UNCONFIRMED
Resolution: DUPLICATE → ---
Status: UNCONFIRMED → NEW
Ever confirmed: true
Changed testcase URL; second link shows an example of what I mean by my last
comment.
Works in FF, broken in camino.
Assignee: pinkerton → sfraser_bugs
Severity: minor → normal
Priority: -- → P3
Target Milestone: --- → Camino1.0
Attached patch PatchSplinter Review
Checked in.
Blocks: 160627
Status: NEW → RESOLVED
Closed: 21 years ago19 years ago
Resolution: --- → FIXED
This is broken again. :(
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
D'oh; trunk-only this time. Closing this and opening a new one.
Status: REOPENED → RESOLVED
Closed: 19 years ago19 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: