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)
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
Reporter | ||
Updated•26 years ago
|
QA Contact: 4015 → 3847
Reporter | ||
Comment 1•26 years ago
|
||
changing QAContact to janc
Assignee | ||
Updated•26 years ago
|
Status: NEW → RESOLVED
Closed: 26 years ago
Resolution: --- → INVALID
Assignee | ||
Comment 2•26 years ago
|
||
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.
Reporter | ||
Updated•26 years ago
|
Status: RESOLVED → VERIFIED
Reporter | ||
Comment 3•26 years ago
|
||
oops - duplicate bug
Updated•6 years ago
|
Component: DOM → DOM: Core & HTML
You need to log in
before you can comment on or make changes to this bug.
Description
•