Closed Bug 52132 Opened 25 years ago Closed 25 years ago

After a cerain tag, Mozilla starts displaying all tags

Categories

(Core :: DOM: HTML Parser, defect, P3)

x86
Linux
defect

Tracking

()

RESOLVED INVALID

People

(Reporter: burnus, Assigned: rickg)

Details

(Keywords: verifyme)

Attachments

(2 files)

Hi this is with 2000-09-08-21/Linux Goto the the test case. It uses <plaintext> which is no longer contained in the W3 recommondation (since 4(?)). Nevertheless this tag shouldn't cause Mozilla to stop to break into tags. Expected: Mozilla should render as if there weren't a <plaintext> tag.
The <plaintext> tag has been deprecated since HTML 2.0. Both Communicator 4.73 and IE 5.5 render the page the same way as Mozilla. The page works fine if you use <pre> instead of <plaintext>. In short, this is not a bug.
The bug is *not* that <plaintext> is ignored (this is actually what I expect). The bug is that <plaintext> causes every tag after it to show up, e.g. Mozilla shows "</plaintext>" as "&lt;/plaintext&gt" instead of "". It also displays the &lt;/body&gt; and &lt;/html&gt; I would expect that unknown tags (such as <foo> or <plaintext>) getting simply ignored and won't cause sideeffects.
That seems to make sense. Nonetheless, Mozilla is rendering the page the same way as both Communicator 4.73 and IE 5.5. I don't know enough about the HTML specs to have an opinion about whether that's a good thing.
<plaintext> is doing exactly what it used to be defined as doing. INVALID. There is no such thing as "</plaintext>". Read the original HTML specs for details. (Available on the w3 site.)
Status: UNCONFIRMED → RESOLVED
Closed: 25 years ago
Keywords: verifyme
Resolution: --- → INVALID
heh. turns out there are already 4 duplicates of this bug, all marked INVALID. # Plaintext # # This tag indicates that all following text is to be taken litterally, up to # the end of the file. Plain text is designed to be represented in the same way # as example XMP text, with fixed width character and significant line breaks. # Format: # <PLAINTEXT> # # This tag allows the rest of a file to be read efficiently without parsing. # Its presence is an optimisation. There is no closing tag. -- http://www.w3.org/History/19921103-hypertext/hypertext/WWW/MarkUp/Tags.html Note that PLAINTEXT has been deprecated since about 1994.
updated qa contact.
QA Contact: janc → bsharma
QA Contact: bsharma → moied
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: