Closed Bug 158597 Opened 23 years ago Closed 23 years ago

display HTML comments in a normal page

Categories

(Tech Evangelism Graveyard :: English Other, defect)

x86
All
defect
Not set
normal

Tracking

(Not tracked)

VERIFIED INVALID

People

(Reporter: s.stonjek1, Assigned: attinasi)

References

()

Details

(Keywords: testcase, Whiteboard: ATTN)

From Bugzilla Helper: User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.0) Gecko/20020529 BuildID: 2002052918 When you load the example page I prepared you can see even those lines which are commented out Reproducible: Always Steps to Reproduce: 1. Just load the page http://www-pnp.physics.ox.ac.uk/~stonjek/comment-test.html Expected Results: Mozilla should not display any HTML comments It seams as if: When you have two consecutive daches sourounded by white spaces and a greater than sign ">" afterwards Mozilla combines this to an "end of comment sign. I could also reproduce this bug under Windows (Build ID 2002053012)
Confirmed 2002072008/win98se Warningn, this is NOT a dupe of bug 144205 or bug 137628!!! Reduced testcase coming soon!
Keywords: testcase
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> If you remove reference to "loose.dtd", the bug disappears. If you try "strict.dtd" instead, I suspect that it happens because both DTDs don't have any description for comment, and thus, instead of strictly verifying "<!-- ... -->", they just consider < (in <!--) and > (inside the comment body in the example) as open/close brackets of a single and unknown tag. Somebody who has a better idea about how DTD works with Moz, please clarify.
Status: UNCONFIRMED → NEW
Ever confirmed: true
OS: Linux → All
Whiteboard: ATTN
this is INVALID. see bug 155211
Status: NEW → RESOLVED
Closed: 23 years ago
Resolution: --- → INVALID
See bug 155211 comment 2 for clarification. ==> Evangelism vrfy dupe
Status: RESOLVED → VERIFIED
Component: Layout → Europe: Central
Product: Browser → Tech Evangelism
Version: other → unspecified
tech evang june 2003 reorg
Component: Europe: Central → English Other
Product: Tech Evangelism → Tech Evangelism Graveyard
You need to log in before you can comment on or make changes to this bug.