Closed Bug 154987 Opened 22 years ago Closed 22 years ago

Space before <!-- causes problems

Categories

(Core :: Layout, defect)

x86
Windows 98
defect
Not set
normal

Tracking

()

RESOLVED INVALID

People

(Reporter: d_king, Assigned: attinasi)

References

()

Details

From Bugzilla Helper: User-Agent: Mozilla/5.0 (Windows; U; Win98; en-US; rv:1.1a+) Gecko/20020628 BuildID: 2002062804-TRUNK While looking at bug #148397, I noticed while looking at Page Source that " <!--" caused a look of HTML to be commented out. Note space before <. This really doesn't look right to me. Reproducible: Always Steps to Reproduce: 1. Go to URL 2. View Page Source Actual Results: Chunks of HTML are commented out. Expected Results: These chunks of HTML should NOT be commented out, and should be rendered.
Line in question is <!-- ------------------------------- --> which has 17 pairs of '-'s and so you are still in the comment when you get to the > http://www.w3.org/TR/html401/intro/sgmltut.html#h-3.2.4
->invalid since this is not Mozilla's fault Boris Zbarsky has a good explanation ing bug 102127 comment 16
Status: NEW → RESOLVED
Closed: 22 years ago
Resolution: --- → INVALID
This was actually a duplicate of bug 148397 in case anyone cares...
No longer blocks: 1347824
You need to log in before you can comment on or make changes to this bug.