Closed Bug 43458 Opened 26 years ago Closed 26 years ago

HTML comments are sometimes rendered as text

Categories

(Core :: Layout, defect, P3)

x86
Linux
defect

Tracking

()

CLOSED WORKSFORME

People

(Reporter: 1212mozilla, Assigned: clayton)

References

()

Details

Attachments

(1 file)

Sometimes comments in an html document make it onto the screen. This problem is not reproducable on a regular basis. If you see comments, refreshing the page will usually get rid of them. I have seen this problem several times on http: //www.theonion.com I have a screenshot of it happening on the main bugzilla page, which I will attach. In my experience, if the comment contains commented out html, < and > surrounding the comments will be replaced with [ and ] before being displayed. (Seen on the onion). I have seen this with several versions of the browser under liunx. The build I am using now is 2000061220.
The comment that usually appears on the onion is the one that looks like this: <!-- [[!~~ Notice Begin ~~]] [[TABLE VALIGN="TOP" CELLSPACING="0" CELLPADDING= "3" BORDER="0"]] [[TR]][[TD COLSPAN="1" ROWSPAN="1" BGCOLOR="#007733"]] [[FONT COLOR="#FFFFFF" FACE="Verdana, Arial, Geneva, Helvetica, sans-serif" SIZE="1"]] [[B]]Notice[[/B]][[/FONT]] [[/TD]][[/TR]] [[TR]][[TD WIDTH="130" COLSPAN="1" ROWSPAN="1" BGCOLOR="#DDDDDD"]] [[TABLE WIDTH="100%" VALIGN="TOP" CELLSPACING= "2" CELLPADDING="3" BORDER="0"]] [[TR]][[TD COLSPAN="1" ROWSPAN="1" BGCOLOR= "#BBBBBB" ALIGN="LEFT"]] [[FONT COLOR="#000000" FACE="Verdana, Arial, Geneva, Helvetica, sans-serif" SIZE="1"]] [[B]]The Onion[[/B]] will return on mm dd, yyyy.[[/FONT]][[BR]] [[/TD]][[/TR]][[/TABLE]] [[/TD]][[/TR]][[/TABLE]] [[BR CLEAR="ALL"]] [[!~~ Notice End ~~]] --> It appears that the site does the character replacement, not mozilla.
This bug has been fixed in recent builds, please try a more recent nightly build. Thanks for catching it though! :)
Status: UNCONFIRMED → RESOLVED
Closed: 26 years ago
Resolution: --- → WORKSFORME
massive update for QA contact.
QA Contact: petersen → lorca
Reassigning QA Contact for all open and unverified bugs previously under Lorca's care to Gerardo as per phone conversation this morning.
QA Contact: lorca → gerardok
This bug should be closed. It was fixed a couple builds before I got around to reporting it and I haven't seen it since.
Status: RESOLVED → CLOSED
SPAM. HTML Element component deprecated, changing component to Layout. See bug 88132 for details.
Component: HTML Element → Layout
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: