Closed Bug 451190 Opened 16 years ago Closed 16 years ago

Invalid handling comment tag if xhtml doctype declared

Categories

(Firefox :: General, defect)

x86
Windows XP
defect
Not set
minor

Tracking

()

RESOLVED DUPLICATE of bug 214476

People

(Reporter: skyh, Unassigned)

Details

User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; ru; rv:1.9.0.1) Gecko/2008070208 Firefox/3.0.1 Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; ru; rv:1.9.0.1) Gecko/2008070208 Firefox/3.0.1 Invalid handling comment tag if xhtml doctype declared, but file is html (or mime type is "text/html") Reproducible: Always Steps to Reproduce: Create sample test.html page than contains data like this: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head><title></title></head> <body> <!-- --this is invalid comment in xhtml --> </body> </html> Actual Results: comment will be displayed Expected Results: blank page
Keywords: xhtml
Status: UNCONFIRMED → RESOLVED
Closed: 16 years ago
Keywords: xhtml
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.