Closed Bug 155434 Opened 23 years ago Closed 16 years ago

kitchenaid.com - Bad comment syntax causing source code to show on page.

Categories

(Tech Evangelism Graveyard :: English US, defect)

defect
Not set
major

Tracking

(Not tracked)

RESOLVED INVALID

People

(Reporter: bugzilla, Unassigned)

References

()

Details

(Whiteboard: [DOCTYPE-COMMENT] [syntax-html])

Hiya, With Mozilla, the HTML shows through and page does not display correctly. With IE, page shows correctly. FWIW, started with Mozilla and page "crashed". Then checked with IE and it works. Just looking at the URL should show what is meant. Major severity as it doesn't permit the page to be shown but doesn't crash Mozilla. Regards, ~Tom
Looks like they used the wrong number of hyphens in a comment tag.
Verified that malformed comments are the problem. If you save the source code locally and correct all the bad comments, the page loads fine. ->evang
Assignee: karnaze → aruner
Component: HTMLTables → US Ecommerce
Product: Browser → Tech Evangelism
QA Contact: amar → bclary
Version: other → unspecified
Status: UNCONFIRMED → NEW
Ever confirmed: true
Updated the summary to something more descriptive.
Summary: No Work Mozilla, Works with IE → Bad comment syntax causing source code to show on page.
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN"> -> Standards mode
Summary: Bad comment syntax causing source code to show on page. → kitchenaid.com - Bad comment syntax causing source code to show on page.
Whiteboard: [DOCTYPE-COMMENT]
OS: Windows XP → All
Hardware: PC → All
Whiteboard: [DOCTYPE-COMMENT] → [DOCTYPE-COMMENT] [syntax-html]
tech evang june 2003 reorg
Assignee: aruner → english-us
Component: US Ecommerce → English US
QA Contact: bc → english-us
This problem still exists with Mozilla 2.0.0.14. I have reduced my test-code to this: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN"> <!-- This is a comment containing two dashes -- <br> If you can read this, than your browser has a bug</a> -->
Siggi, you're wrong. "<!" simply says, there is mark up. The two dashes following open the comment, and the second appearance of "--" closes the comment. So if you can read the text, your browser is free of bugs in this case. Currently, only Mozilla is that strict about comments. However, this is only true for Standards Mode. If an author chooses to opt in to Standards Mode, he can be expected to know what he does. An appearance of "--" between "<!--" and "-->" is simply invalid. In quirks mode you can write your comments as invalid as you want, but using quirks mode is not recommended because of the many bugs Internet Explorer exposes in that mode.
Status: NEW → RESOLVED
Closed: 16 years ago
Resolution: --- → INVALID
Product: Tech Evangelism → Tech Evangelism Graveyard
You need to log in before you can comment on or make changes to this bug.