Closed Bug 322892 Opened 19 years ago Closed 19 years ago

<script /> not parsed correctly if </script> follows.

Categories

(Firefox :: General, defect)

PowerPC
macOS
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 162653

People

(Reporter: msalmonse, Unassigned)

References

()

Details

User-Agent:       Mozilla/5.0 (Macintosh; U; PPC Mac OS X; en-us) AppleWebKit/416.12 (KHTML, like Gecko) Safari/416.13
Build Identifier: Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.8) Gecko/20051111 Firefox/1.5

The above xhtml file is not parsed correctly, the text between <script/> and </script> is taken to be a part of the script tag. This can be seen by viewing the source as the colorization stops after <script/>. The page is rendered correctly if the </script> is removed or if the <script/> is replaced by <script></script>.

Reproducible: Always

Steps to Reproduce:
1.include <script/> tag
2.include <script>...</script> in body
3.

Actual Results:  
Nothing displayed for <http://michael.mesme.org/ffbug.html>

Expected Results:  
See <http://michael.mesme.org/ffnobug.html>
I don't see <script/> anywhere in your testcase.
Sorry, my mistake, the file is fixed now.
The server sends this document with content type "text/html", so what you see is actually correct according to the XHTML spec (see section C.3 or bug 162653).

*** This bug has been marked as a duplicate of 162653 ***
Status: UNCONFIRMED → RESOLVED
Closed: 19 years ago
Resolution: --- → DUPLICATE
Note: This is actually a dup of bug 203398 (which is INVALID as well).
You need to log in before you can comment on or make changes to this bug.