Closed
Bug 269104
Opened 20 years ago
Closed 20 years ago
Two dashes incorrectly terminate a comment block early.
Categories
(Core :: DOM: HTML Parser, defect)
Tracking
()
VERIFIED
DUPLICATE
of bug 214476
People
(Reporter: a.nielsen, Unassigned)
Details
Attachments
(1 file)
|
506 bytes,
text/html
|
Details |
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8a5) Gecko/20041105 Firefox/0.9.1+ Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8a5) Gecko/20041105 Firefox/0.9.1+ Two dashes in the middle of a comment will terminate the comment early, but only if a certain DOCTYPE is in use. Reproducible: Always Steps to Reproduce: 1. Load the attachment to this bug in Firefox. 2. Notice the red text, which should not be visible as it is inside a HTML comment. Actual Results: Some of the comment is displayed as visible text Expected Results: All text in the comment tag should be hidden from view
| Reporter | ||
Comment 1•20 years ago
|
||
Comment 2•20 years ago
|
||
This is the correct behavior. See http://www.w3.org/TR/html4/intro/sgmltut.html#h-3.2.4 . *** This bug has been marked as a duplicate of 214476 ***
Status: UNCONFIRMED → RESOLVED
Closed: 20 years ago
Resolution: --- → DUPLICATE
Updated•20 years ago
|
Status: RESOLVED → VERIFIED
You need to log in
before you can comment on or make changes to this bug.
Description
•