Closed
Bug 245348
Opened 20 years ago
Closed 20 years ago
Comments inside <script> tags are closed (only) after the second </script> tag
Categories
(Core :: DOM: HTML Parser, defect)
Core
DOM: HTML Parser
Tracking
()
RESOLVED
DUPLICATE
of bug 219504
People
(Reporter: collares, Unassigned)
References
()
Details
(Keywords: testcase)
Attachments
(1 file)
616 bytes,
text/html
|
Details |
User Agent: Mozilla/5.0 (Windows; U; Windows NT 5.2; en-US; rv:1.8a2) Gecko/20040601 In the attached testcase, a comment (<!--) inside a <script> tag is unclosed. Mozilla closes the comment only after the second </script> tag. One would expect the following: * the comment to be closed after the containing <script> block is closed OR * the source to be commented until the end, as there is no corresponding --> tag This happens in Quirks mode. It does not happen on Internet Explorer 6.0.3790.0 for Windows.
Reporter | ||
Comment 1•20 years ago
|
||
Comment 2•20 years ago
|
||
This is a known issue. Please check existing bugs no script tags and comment parsing... The problem is that IE's behavior is inconsistent and so far no one has been able to really reverse-engineer it.
Whiteboard: DUPEME
Reporter | ||
Comment 3•20 years ago
|
||
I found bugs like bug 144432, but they refer to a slightly different problem.
Comment 4•20 years ago
|
||
This is the same bug as bug 219504, DUPLICATE. *** This bug has been marked as a duplicate of 219504 ***
Status: NEW → RESOLVED
Closed: 20 years ago
Resolution: --- → DUPLICATE
Updated•20 years ago
|
Whiteboard: DUPEME
You need to log in
before you can comment on or make changes to this bug.
Description
•