Closed Bug 236517 Opened 21 years ago Closed 20 years ago

Wrong CDATA section that is not close is lost in the page(in the page, in source viewer, and in DOM Inspector)

Categories

(Core :: DOM: HTML Parser, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: masayuki, Assigned: mrbkap)

References

()

Details

User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:) Gecko/20040304 Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:) Gecko/20040304 Wrong CDATA section that is not close is lost in the page. e.x., <![CDATA[ <p> this paraglaph is lost. </p> </body> </html> [EOF] this bug comes bugzilla-jp. http://bugzilla.mozilla.gr.jp/show_bug.cgi?id=3659 Reproducible: Always Steps to Reproduce: 1.See the test cases. Standards mode: http://bugzilla.mozilla.gr.jp/attachment.cgi?id=2063&action=view Quirks mode: http://bugzilla.mozilla.gr.jp/attachment.cgi?id=2064&action=view Actual Results: after "<![CDATA[" is lost in the page, in source viewer, and in DOM Inspector. Expected Results: Insert "]]>" in end of file, and view for plain text(Bug 49442). This bug is the derivation from Bug 49442. (see Bug 49442 comment 10)
The view-source issue is covered in bug 84430. I'm going to fix this (this may also fix the view-source issue).
Assignee: parser → mrbkap
Status: UNCONFIRMED → NEW
Ever confirmed: true
Depends on: 84430
Fixed by checkin to bug 84430 (note that CDATA sections are never rendered - they're treated as comments).
Status: NEW → RESOLVED
Closed: 20 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.