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)
Core
DOM: HTML Parser
Tracking
()
RESOLVED
FIXED
Future
People
(Reporter: hjtoi-bugzilla, Assigned: mrbkap)
References
Details
Attachments
(1 file)
770 bytes,
text/html
|
Details |
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.
Comment 1•23 years ago
|
||
*** Bug 153960 has been marked as a duplicate of this bug. ***
Comment 2•23 years ago
|
||
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. ***
Updated•22 years ago
|
Priority: -- → P2
QA Contact: moied → dsirnapalli
Comment 4•22 years ago
|
||
related bug in http://bugzilla.mozilla.org/show_bug.cgi?id=204362
Comment 5•22 years ago
|
||
*** Bug 204362 has been marked as a duplicate of this bug. ***
Comment 6•21 years ago
|
||
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
Comment 7•21 years ago
|
||
*** Bug 239185 has been marked as a duplicate of this bug. ***
Assignee | ||
Comment 8•20 years ago
|
||
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 | ||
Updated•20 years ago
|
Assignee: harishd → mrbkap
Status: ASSIGNED → NEW
Assignee | ||
Comment 9•20 years ago
|
||
FIXED by checkin to bug 88952.
Status: NEW → RESOLVED
Closed: 20 years ago
Resolution: --- → FIXED
Comment 10•19 years ago
|
||
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.
Description
•