Closed Bug 288610 Opened 20 years ago Closed 20 years ago

Problem with Comments using: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Strict//EN">

Categories

(Firefox :: General, defect)

x86
Windows XP
defect
Not set
minor

Tracking

()

RESOLVED DUPLICATE of bug 214476

People

(Reporter: jan_ruehaak, Assigned: bugzilla)

Details

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; de-DE; rv:1.7.6) Gecko/20050321 Firefox/1.0.2
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; de-DE; rv:1.7.6) Gecko/20050321 Firefox/1.0.2

When there are two dashes or more -- in a comment <!-- -->
firefox will ignore the --> closing of the comment.

Here my example of the problem as a HTML code:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Strict//EN">
<html>
<body>
text 1 visible <br>
<!-- -- -->
text 2 invisible<br>
<!-- -- -->
text 3 visible
</body>
</html>

Reproducible: Always

Steps to Reproduce:
just see the html code in details

Actual Results:  
firefox displays:
text 1 visible
text 3 visible

Expected Results:  
firefox should have displayed:
text 1 visible
text 2 invisible
text 3 visible

*** This bug has been marked as a duplicate of 214476 ***
Status: UNCONFIRMED → RESOLVED
Closed: 20 years ago
Resolution: --- → DUPLICATE
Summary: Problem with Comments using: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Strict//EN"> → Problem with Comments using: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Strict//EN">
You need to log in before you can comment on or make changes to this bug.