Closed
Bug 420873
Opened 18 years ago
Closed 18 years ago
<script> tag causes page to appear blank
Categories
(Core :: DOM: HTML Parser, defect)
Tracking
()
RESOLVED
DUPLICATE
of bug 327796
People
(Reporter: timwi, Unassigned)
Details
Attachments
(1 file)
|
361 bytes,
text/html
|
Details |
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.
Additional information: The syntax highlighter in the HTML source window exhibits the same problem in that it stops colouring after the <script> tag.
Comment 3•18 years ago
|
||
you have to close the <script> and closing it with <script /> is not valid.
Status: UNCONFIRMED → RESOLVED
Closed: 18 years ago
Resolution: --- → DUPLICATE
Comment 4•18 years ago
|
||
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.
Description
•