Closed Bug 365844 Opened 18 years ago Closed 18 years ago

HTML Comment tag with dash characters, <!-- my comment ------ -->

Categories

(Toolkit :: View Source, defect)

1.8 Branch
x86
Windows XP
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 214476

People

(Reporter: taijiplanet, Unassigned)

Details

(Keywords: xhtml)

User-Agent:       Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 2.0.50727)
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.1) Gecko/20061204 Firefox/2.0.0.1

Yeah, it's simple
If I use comment tag with lots dash characters like 

<!-- some comments ------------------- --> or
<!-- some comments --------------------->

Firefox initilize all text as a comment after comment tag.
so table layout is broken.

when I make a code snippets like

<!-- comment -------------->
<div>my name</div>
<div>my age</div>
<!-- comment -------------->

my name and my age are goin to be comment with Firefox.
IE doesn't happen

so I had to change my html source code
before : <!-- my comment --------------> 
after : <!-- my comment ++++++++++++ --> 

I should change dash character to the other one.

Check this out...

Reproducible: Always

Steps to Reproduce:
1. make a html file on your computer
2. make a code like whole html document
3. use a comment tag having dash character inside
Actual Results:  
no special setup
GO! Firefox! I love it!
Keywords: xhtml
Version: unspecified → 2.0 Branch
Status: UNCONFIRMED → RESOLVED
Closed: 18 years ago
Resolution: --- → DUPLICATE
Summary: Crash if I use a HTML Comment tag with dash characters, <!-- my comment ------ --> → HTML Comment tag with dash characters, <!-- my comment ------ -->
Product: Firefox → Toolkit
You need to log in before you can comment on or make changes to this bug.