Closed
Bug 256818
Opened 20 years ago
Closed 20 years ago
bad behavior when parsing HTML comments
Categories
(Core :: DOM: HTML Parser, defect)
Tracking
()
VERIFIED
INVALID
People
(Reporter: petrovicky, Unassigned)
Details
User-Agent: Mozilla/5.0 (Windows; U; Win98; en-US; rv:1.7.2) Gecko/20040819 Firefox/0.9.1+ (MOOX M2) Build Identifier: Mozilla/5.0 (Windows; U; Win98; en-US; rv:1.7.2) Gecko/20040819 Firefox/0.9.1+ (MOOX M2) let's say we have a following comment: <!--<div id="listing"><a href="">« Previous 20</a> -- <a href="">Next 20 »</a></div>--> mozilla decides that characters -- indicate ending of a comment, then seeks for next ">" and makes the comment end. Reproducible: Always Steps to Reproduce: Actual Results: comment ends after <a href=""> (before "Next 20"). "Next 20 »</a></div>-->" is displayed. Expected Results: comment ends after -->, nothing is displayed
Comment 1•20 years ago
|
||
-- *is* the end of the comment. You cannot have -- in the middle of a comment. See http://www.w3.org/TR/html401/intro/sgmltut.html#idx-HTML Mozilla's behavior is correct. Bug is invalid.
Status: UNCONFIRMED → RESOLVED
Closed: 20 years ago
Resolution: --- → INVALID
Updated•20 years ago
|
Status: RESOLVED → VERIFIED
You need to log in
before you can comment on or make changes to this bug.
Description
•