Closed Bug 362663 Opened 18 years ago Closed 18 years ago

Showing a HTML-Comment on the Webpage if it's too long

Categories

(Firefox :: General, defect)

x86
Windows 2000
defect
Not set
minor

Tracking

()

RESOLVED DUPLICATE of bug 214476

People

(Reporter: maik.riechert, Unassigned)

Details

User-Agent:       Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0; .NET CLR 1.1.4322; .NET CLR 2.0.50727)
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.0; de; rv:1.8.1) Gecko/20061010 Firefox/2.0

If you have a HTML comment like <!-- comment --> over many lines (in my case it happended after line 14550), Firefox shows the rest of the comment simply on the webpage instead of hiding it like the beginning.
I know that normally you don't have this large comments but it's still a bug which other Browsers don't have. ;)

Reproducible: Always

Steps to Reproduce:
1.Create a HTML File
2.Insert a very large HTML comment in it
3.Watch it in Firefox

Actual Results:  
showing a part of the html comment on the web page

Expected Results:  
showing nothing of the html comment

current workaround: shorter comments :P
Reporter, is it not because line 14550 contained a '--' pattern ? Then it's actually normal : this closes the comment immediately, not the '-->'. See bug 214476.

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