Closed Bug 579613 Opened 14 years ago Closed 14 years ago

Firefox v3.6.6 is unable to handle comments such as "<!-- Text ----------->"

Categories

(Firefox :: General, defect)

x86
Linux
defect
Not set
major

Tracking

()

RESOLVED DUPLICATE of bug 214476

People

(Reporter: jasonwyz98, Unassigned)

Details

User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US) AppleWebKit/533.4 (KHTML, like Gecko) Chrome/5.0.375.99 Safari/533.4 Build Identifier: 3.6.6 Firefox v3.6.6 is unable to handle comments such as "<!-- Text ----------->" <!-- Footer ----------------------------------------------------------------------------------------------------> Reproducible: Always Steps to Reproduce: 1. Create and HTML file 2. with comments in the above format 3. Actual Results: Sections of HTML will be treated as comments Expected Results: Comments should be comments
Don't use more than 2 hyphens inside a comment - due to the SGML rules, this can create unexpected results. http://www.w3.org/TR/html4/intro/sgmltut.html#h-3.2.4 https://bugzilla.mozilla.org/show_bug.cgi?id=214476#c4 It will be fixed in Firefox 4.0, which uses the HTML5 parser, not the HTML4 one.
Status: UNCONFIRMED → RESOLVED
Closed: 14 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.