Closed Bug 144902 Opened 23 years ago Closed 20 years ago

Unclosed comment handling in strict mode needs to deal with "<!"

Categories

(Core :: DOM: HTML Parser, defect, P2)

defect

Tracking

()

RESOLVED FIXED
Future

People

(Reporter: hjtoi-bugzilla, Assigned: mrbkap)

References

Details

Attachments

(1 file)

Once bug 137628 gets fixed, there remains one issue in strict mode with comments that don't end. After that bug we treat the comment start as text, and parse the rest of the document normally, with one caveat: we are missing the "<!" part of the comment open.
*** Bug 153960 has been marked as a duplicate of this bug. ***
A fairly pathological testcase with nested and unclosed SGML comments, for your education and entertainment. adapted from Adam Solesby's testcase (attachment 88988 [details] on the duplicate).
*** Bug 155722 has been marked as a duplicate of this bug. ***
Priority: -- → P2
QA Contact: moied → dsirnapalli
Status: NEW → ASSIGNED
Target Milestone: --- → Future
Blocks: 165323
Blocks: 191661
*** Bug 204362 has been marked as a duplicate of this bug. ***
Not sure if this helps... simply having a "--" in a comment breaks it. ex. <! test -- will show up --> displays test -- will show up --> <! test - will show up --> displays
*** Bug 239185 has been marked as a duplicate of this bug. ***
The monster patch over in bug 88952 makes us not lose the <! at the beginning of unclosed comments in standards mode.
Depends on: 88952
Assignee: harishd → mrbkap
Status: ASSIGNED → NEW
FIXED by checkin to bug 88952.
Status: NEW → RESOLVED
Closed: 20 years ago
Resolution: --- → FIXED
I am using 1.0.4 and am having problems with double dashes as well. My double dashes are not inside a comment tag, but do break comment tags which appear below it. I am rendering in transitional mode. Here is my <a href="http://devel.micgi.com/~ericf/firefox/" target="_blank">testcase</a>.
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: