Closed Bug 266045 Opened 20 years ago Closed 20 years ago

Inline comment in HTML title is displayed as normal text

Categories

(Firefox :: General, defect)

x86
Windows XP
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 266044

People

(Reporter: jiafu_gao, Assigned: bugzilla)

Details

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8a5) Gecko/20041025 Firefox/0.9.1+
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8a5) Gecko/20041025 Firefox/0.9.1+

The following simple html shows the problem. Not sure what the html standard
says about this, but IE displays it without problem (i.e., comments are
correctly recognized, and skipped).

<html><head>
<title>eValuator -
<!-- <div class="docstyle">include = clnyy_Benefit_Plans_Hdr <br><br></div> -->
Your eValuator&trade; Home Page
<!-- <div class="docstyle"><br><br>include-end<br><br></div> -->
</title>
<body>
XXX
</body>
</html>

Reproducible: Always
Steps to Reproduce:
1. Save the sample html into a file
2. Open the file in Firefox
3. Check the Window title in firefox

Actual Results:  
you should see: sth like <!-- comment --> in  the Window title in firefox.

Expected Results:  
Skip the comments
The same bug applies to the tab title.

*** This bug has been marked as a duplicate of 266044 ***
Status: UNCONFIRMED → RESOLVED
Closed: 20 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.