Closed
Bug 286224
Opened 20 years ago
Closed 20 years ago
HTML <comment>...</comment> tag contents incorrectly displayed
Categories
(Firefox :: Tabbed Browser, defect)
Tracking
()
RESOLVED
INVALID
People
(Reporter: robert.navarro, Assigned: bugs)
Details
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.7.6) Gecko/20050226 Firefox/1.0.1 Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.7.6) Gecko/20050226 Firefox/1.0.1 According to my Html Goodies book <COMMENT> not displayed by browser </COMMENT> should work as an embedded programmer comment & be ignored by browser. This is true with IE, but is not so with Firefox. All my searches for <COMMENT> tag support come up empty. Has the HTML world rendered this tag obsolete? Put the following into a file: comment.html and you'll see the top comment displayed. <comment> A bad comment! </comment> <!-- A functional comment --> Reproducible: Always Steps to Reproduce: 1. Copy following into file comments.html: <comment> A bad comment! </comment> <!-- A functional comment --> 2. open file in browser, you'll see top line displayed 3. Actual Results: A bad comment!
Comment 1•20 years ago
|
||
See http://msdn.microsoft.com/workshop/author/dhtml/reference/objects/COMMENT.asp "This object is a Microsoft extension to HTML."
Comment 2•20 years ago
|
||
Yeah, we don't support Microsoft extensions to HTML. Please use valid commenting technique, which is <!-- -->.
Status: UNCONFIRMED → RESOLVED
Closed: 20 years ago
Resolution: --- → INVALID
You need to log in
before you can comment on or make changes to this bug.
Description
•