Status: NEW → RESOLVED
Last Resolved: 20 years ago
Resolution: --- → INVALID
This is not a bug - check behavior in Navigator 4.x. The newline is only significant when you're writing a plaintext document. To actually get a newline in the HTML case, you need to include a <P> or <BR> element.
Jan, didn't we already have this conversation before? I seem to remember discussing it a while ago.
We talked about using the write(); method with regard to whitespace in the testcase, but not about writeln(); In section "2.4. Objects related to HTML documents" at this URL: http://www.w3.org/TR/REC-DOM-Level-1/level-one-html.html W3C defines the writeln(); method as: "Write a string of text followed by a newline character to a document stream opened by open(). The text is parsed into the document's structure model." Doesn't that mean that in HTML it should add a return? (My appologies if I'm missunderstanding the spec.)
Status: REOPENED → RESOLVED
Last Resolved: 20 years ago → 20 years ago
Thanks, I didn't understand the spec.
can you (firstname.lastname@example.org) please point me to the specific location in the spec where it states "It adds the newline to the document SOURCE." I am unable to locate that little tidbit of data -- thanks
You need to log in before you can comment on or make changes to this bug.