Closed Bug 420873 Opened 18 years ago Closed 18 years ago

<script> tag causes page to appear blank

Categories

(Core :: DOM: HTML Parser, defect)

x86
Windows 2000
defect
Not set
major

Tracking

()

RESOLVED DUPLICATE of bug 327796

People

(Reporter: timwi, Unassigned)

Details

Attachments

(1 file)

User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.9b3) Gecko/2008020514 Firefox/3.0b3 Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.9b3) Gecko/2008020514 Firefox/3.0b3 See attached testcase. Reproducible: Always Actual Results: Blank page. Expected Results: The text "This text should appear." should appear. The testcase passes the W3C validator. The problem does not occur in Firefox 2.0.
Attached file Testcase
Testcase.
Additional information: The syntax highlighter in the HTML source window exhibits the same problem in that it stops colouring after the <script> tag.
you have to close the <script> and closing it with <script /> is not valid.
Status: UNCONFIRMED → RESOLVED
Closed: 18 years ago
Resolution: --- → DUPLICATE
If you want to use XML empty tag syntax, you need to use an XML MIME type. You're using text/html.
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: