Closed Bug 531043 Opened 15 years ago Closed 15 years ago

parsing breaks at the xhtml short form of <script /> tag

Categories

(Core :: DOM: HTML Parser, defect)

defect
Not set
normal

Tracking

()

RESOLVED WONTFIX

People

(Reporter: kavol, Unassigned)

Details

Attachments

(1 file)

User-Agent:       Mozilla/5.0 (compatible; Konqueror/4.3; Linux 2.6.31.5-127.fc12.x86_64; X11; x86_64; cs) KHTML/4.3.3 (like Gecko) Fedora/4.3.3-4.fc12
Build Identifier: 

It seems that Firefox and SeaMonkey (and possibly anything else built around the same core) can't parse the short form of <script /> tag correctly.

Reproducible: Always

Steps to Reproduce:
1. open the attachment in firefox or seamonkey
2. see that the rendering stopped right after the second paragraph
Actual Results:  
before <script type="text/javascript"></script>

after <script type="text/javascript"></script>, before <script type="text/javascript" />

Expected Results:  
before <script type="text/javascript"></script>
after <script type="text/javascript"></script>, before <script type="text/javascript" />
after <script type="text/javascript" />

W3C validator thinks the attachment is a valid XHTML 1.0 Transitional document, and Konqueror or Opera do not have any problem displaying all three paragraphs of text.
WONTFIX for HTML5-compliance reasons.

Opera 10 renders the same as Firefox.

The W3C Validator is being unhelpful by parsing text/html content as XML.
Status: UNCONFIRMED → RESOLVED
Closed: 15 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: