Closed Bug 133492 Opened 23 years ago Closed 23 years ago

JavaScript cannot write tagged text: see included code

Categories

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

x86
Windows 98
defect
Not set
major

Tracking

()

RESOLVED DUPLICATE of bug 132673

People

(Reporter: atmjav, Assigned: jst)

References

Details

From Bugzilla Helper: User-Agent: Mozilla/5.0 (Windows; U; Win98; en-US; rv:0.9.9+) Gecko/20020325 BuildID: 2002032503 This page writes no text in this build, and it writes "1" in previous builds: <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <title>restore</title> </head> <body text="#000000" bgcolor="#ffffff" link="#0000ff" alink="#ff9900" vlink="#000099"> <script language="JavaScript"> <!-- document.write("<center>1</center>"); //--> </script> </body> </html> But this page writes "1": <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <title>restore</title> </head> <body text="#000000" bgcolor="#ffffff" link="#0000ff" alink="#ff9900" vlink="#000099"> <script language="JavaScript"> <!-- document.write("1</center>"); //--> </script> </body> </html> Reproducible: Always Steps to Reproduce: 1. Create HTML page: <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <title>restore</title> </head> <body text="#000000" bgcolor="#ffffff" link="#0000ff" alink="#ff9900" vlink="#000099"> <script language="JavaScript"> <!-- document.write("<center>1</center>"); //--> </script> </body> </html>
We've had a huge document.write() bug that's just been resolved today. Reassigning to DOM Level 0 for parity with the duplicate bug.
Assignee: rogerl → jst
Component: JavaScript Engine → DOM Level 0
QA Contact: pschwartau → desale
Duping this against bug 132673, "Last thing in a script created with document.write does not show" (caused by the patch for bug 123899). Alexander: could you confirm this? You'll have to get a new build made after the patch for bug 123899 was backed out, which was done today, 2002-03-26, at 04:34 Pacific Standard Time. If the bug has gone away with the new build, you can mark this bug "Verified". If not, you can reopen it - thanks. *** This bug has been marked as a duplicate of 132673 ***
Status: UNCONFIRMED → RESOLVED
Closed: 23 years ago
Resolution: --- → DUPLICATE
*** Bug 133557 has been marked as a duplicate of this bug. ***
You need to log in before you can comment on or make changes to this bug.