Closed Bug 174536 Opened 23 years ago Closed 23 years ago

Writing content into new window with document.writeln(); shows scrollbars

Categories

(Core :: DOM: Core & HTML, defect)

defect
Not set
normal

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: bugzilla, Assigned: jst)

Details

Attachments

(1 file)

User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.2b) Gecko/20021013 Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.2b) Gecko/20021013 See testcase, both new window have scrollbars=no set. The first link works fine, the second shows scrollbars. The difference between the functions is that the second link uses document.writeln(); instead of document.write(); Reproducible: Always Steps to Reproduce: 1. Run testcase 2. Press firt link, everything is ok 3. Close window, press second link, you see scrollbars
Attached file Testcase.
The Testcase works as reported on Mac OS 9.1 Build 2002100911 Target to ALL ?
WriteLn writes out a 'newline' at the end. As the example has an image the same size as the window, a newline will cause the scrollbars. However, as scrollbars is set to NO, then the scrollbars shouldn't appear anyway. Confirming, and chnaging to ALL.
Status: UNCONFIRMED → NEW
Ever confirmed: true
OS: Windows 2000 → All
Hardware: PC → All
WFM build 2002122508, Windows XP
Status: NEW → RESOLVED
Closed: 23 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: