Closed Bug 294909 Opened 20 years ago Closed 20 years ago

<! comment parsing bug

Categories

(Core :: DOM: HTML Parser, defect)

defect
Not set
normal

Tracking

()

RESOLVED INVALID

People

(Reporter: mario.westers, Unassigned)

Details

Attachments

(1 file)

User-Agent:       Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0)
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7.8) Gecko/20050511

If you have the signs <! between body-tags, every text and tags afer it,
not shown in browser. In viewsource everything after <! marks as an comment in 
green.

Example Page:

<HTML>
<HEAD>
    <TITLE>testside</TITLE>
</HEAD>
<BODY>
line before<!

line after
bug test<br>
</BODY>
</HTML>

Reproducible: Always
Assignee: general → parser
Component: General → HTML: Parser
Product: Mozilla Application Suite → Core
QA Contact: general → mrbkap
Version: unspecified → Trunk
Attached file reporter's testcase
(quirks vs standards mode makes no difference)

although I doubt this is a bug...
It is a Markup Declaration Open. There is no comment. It appears that the
markup declaration is closed by MDC that ends the token: test<br>
I am almost shure this is invalid. Marking so but you still can reopen.
Status: UNCONFIRMED → RESOLVED
Closed: 20 years ago
OS: Windows 2000 → All
Hardware: PC → All
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: