Closed Bug 500887 Opened 16 years ago Closed 16 years ago

comments with multiple dashes not handled correctly, causes page to not render

Categories

(Firefox :: General, defect)

x86
Windows XP
defect
Not set
major

Tracking

()

RESOLVED DUPLICATE of bug 214476

People

(Reporter: jmichae3, Unassigned)

References

()

Details

User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.0.11) Gecko/2009060215 Firefox/3.0.11 (.NET CLR 3.5.30729) Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.0.11) Gecko/2009060215 Firefox/3.0.11 (.NET CLR 3.5.30729) comments with mutliple dashes like <!---- ---> show up in the broswer when left alone. if in combination with others, it can cause the rest of the page to not be rendered. The page I listed has (to my knowledge) valid comments and they work fine in IE. everything between the <!-- and the --> are a comment. is that not supposed to be what is happening? that is not what's happening with ff 3.0.11. this phenomenon happens with other lengths. I think it was evens and odds were the problems. Reproducible: Always Steps to Reproduce: 1.put in comment <!---- this will show up in browser if left by itself ---> 2.experiment with 4's and 3's with 3 comments within your page. may take 3 comments. watch strange things happen while you do. 3. Actual Results: comments appear and disappear in the browser depending on how many comments are there. depending on the content, you may lose the rest of your page. Expected Results: see the formatted page without the comments. problem with the lexical analyzer? I don't know anything about Mozilla's internals, but with a little background in compilers, my guess is the lexical analyzer needs to be corrected. it does not cause a crash.
Status: UNCONFIRMED → RESOLVED
Closed: 16 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.