Closed
Bug 577858
Opened 14 years ago
Closed 14 years ago
incorrectly interprets '--'> as an end of comment block if doctype is specified
Categories
(Firefox :: General, defect)
Tracking
()
RESOLVED
DUPLICATE
of bug 214476
People
(Reporter: tehek, Unassigned)
Details
User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US) AppleWebKit/533.4 (KHTML, like Gecko) Chrome/5.0.375.99 Safari/533.4 Build Identifier: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.6) Gecko/20100628 Ubuntu/10.04 (lucid) Firefox/3.6.6 Firefox erroneously (?) treats '--'> as end of the html comment block, if the html has doctype specified. (Tested wyth html-strict, html-transitional, xhtml-strict, xhtml-transitional, and probably others). This problem was found on one of our websites and reported by multiple users with different OS (Vista/XP). Reproducible: Always Steps to Reproduce: 1. Create an html file with the following content <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> <head> </head> <body> <!-- '--'> Why do you see me? --> </body> </html> 2. Open with firefox Actual Results: See the commented piece of text: Why do you see me? --> Expected Results: Nothing Seems to be general issue. Thx for great job guys! ^_^ V
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.
Description
•