Closed Bug 387941 Opened 17 years ago Closed 17 years ago

unsettled comment, possible bug in gecko core parser, HTML/XML comment <!-- -->

Categories

(Firefox :: General, defect)

x86
Windows XP
defect
Not set
major

Tracking

()

RESOLVED DUPLICATE of bug 214476

People

(Reporter: dead.screamer, Unassigned)

References

()

Details

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9a7pre) Gecko/2007071205 Minefield/3.0a7pre
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9a7pre) Gecko/2007071205 Minefield/3.0a7pre

Firefox don't display part of page, because ignoring closing comment sign (`-->`), comment is probably opened on line 159-160 and closed as late as with `>&nbsp;` on line 329, other browsers (IE7, Opera 9, Safari 3) display this page correctly

sorry for my english, I am not native english speaking men

Reproducible: Always

Steps to Reproduce:
1.Nothing, it happened.
Actual Results:  
Don't display part of page.
Status: UNCONFIRMED → RESOLVED
Closed: 17 years ago
Resolution: --- → DUPLICATE
Line 159: <!-- ------------------------------------------------------------------------------------------------------------------- -->

*Any* occurrence of -- after the start of a comment ends the comment, with the next -- starting another comment. If you count the dashes in that line, the last --> actually starts a comment instead of ending it.
You need to log in before you can comment on or make changes to this bug.