Closed Bug 536769 Opened 15 years ago Closed 15 years ago

A specific annotation code (<!-- xxx -->) is rendered as text on firefox.

Categories

(Firefox :: General, defect)

x86
Windows Vista
defect
Not set
trivial

Tracking

()

RESOLVED DUPLICATE of bug 214476

People

(Reporter: cyl3erunion, Unassigned)

References

()

Details

Attachments

(1 file)

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.9.1.6) Gecko/20091201 Firefox/3.5.6 Jingoo/0.1.2 (.NET CLR 3.5.30729)
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.9.1.6) Gecko/20091201 Firefox/3.5.6 Jingoo/0.1.2 (.NET CLR 3.5.30729)

<!-- ------------------------------------------------- GAME ---------------------------------------------- GAME ------------------------------------------------- --> is rendered as text on firefox. It is not displayed on IE8, Safari, Opera, and Chrome. The other (numerous) annotations in the page are not rendered on firefox. This specific annotation will not be rendered on firefox when (1) the closing tag is changed to "->" (2) The number of dashes is reduced "<!-- ------------------------------------------------  GAME  --------------------------------------------  GAME  ------------------------------------------------ -->". Similar bug: Bug 509983

Reproducible: Sometimes

Steps to Reproduce:
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Test Page</title>
</head>
<body>
<!-- ------------------------------------------------- GAME ---------------------------------------------- GAME ------------------------------------------------- -->
</body>
</html>
Actual Results:  
<!-- ------------------------------------------------- GAME ---------------------------------------------- GAME ------------------------------------------------- --> is rendered as text!

Expected Results:  
There should be nothing on the "Test Page". The annotation should be hidden.

When I place a second annotation with 2/more dashes in it before/after the initial "<!-- ------------------------------------------------- GAME ---------------------------------------------- GAME ------------------------------------------------- -->", the displayed text disappears! But if the second annotation does not multiple dashes (empty or just words) the first annotation is still displayed. The second annotation is hidden as expected.
See Also: → 509983
Summary: Specific annotation code <!-- --> is rendered as text on firefox. → A specific annotation code (<!-- xxx -->) is rendered as text on firefox.
Attached file Test Page
Status: UNCONFIRMED → RESOLVED
Closed: 15 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: