Closed Bug 6786 Opened 26 years ago Closed 26 years ago

writeln(); doesn't insert a return character after text

Categories

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

All
Windows 98
defect

Tracking

()

VERIFIED INVALID

People

(Reporter: jcarpenter0524, Assigned: vidur)

Details

Windows Build: 1999-05-19-10-M6 Mac Build: 1999-05-09-M6 Tested on: Win98, MacPPC - View this code sample: <HTML> <HEAD><TITLE>test</TITLE></HEAD> <BODY> <SCRIPT TYPE="text/javascript"> document.writeln("Here is some text. "); document.writeln("This text should be on the next line"); </SCRIPT> </BODY> </HTML> - Resulting text is written on 1 line instead of 2
QA Contact: 4015 → 3847
changing QAContact to janc
Status: NEW → RESOLVED
Closed: 26 years ago
Resolution: --- → INVALID
Well, it turns out that I actually do put a newline after each line, but it's collapsed in the HTML case (the same occurs in Nav 4.x). If you did this inside a <PRE> tag, you'd get the right behavior.
Status: RESOLVED → VERIFIED
oops - duplicate bug
Component: DOM → DOM: Core & HTML
You need to log in before you can comment on or make changes to this bug.