Closed
Bug 62220
Opened 25 years ago
Closed 24 years ago
Plaintext element does not work within the application
Categories
(Core :: DOM: HTML Parser, defect, P3)
Core
DOM: HTML Parser
Tracking
()
mozilla0.9
People
(Reporter: rubydoo123, Assigned: harishd)
Details
take the following code:
<html>
<head>
<title>test</title>
</head>
<body>
<plaintext>hello, I'm, plaintext</plaintext>
</body>
</html>
save it as an html file, and render it in the browser -- what you get is this:
hello, I', plaintext</plaintext></body>
that is clearly incorrect
Another case,
In HTML 2.0 plaintext has been deprecated, use <pre></pre> instead.
In HTML 4.0 plaintext has been obsolute, use <pre></pre> instead.
Working example:
----------------
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title></title>
</head>
<body>
<pre>hello, I'm, plaintext</pre>
</body>
</html>
Your W3C validator,
Friendly, HJ.
*** This bug has been marked as a duplicate of 56914 ***
Status: ASSIGNED → RESOLVED
Closed: 24 years ago
Resolution: --- → DUPLICATE
Comment 5•24 years ago
|
||
Verifications. Tests (if necessary) were done with 2001052504 on Windows 2000.
Please forgive the spam.
Status: RESOLVED → VERIFIED
You need to log in
before you can comment on or make changes to this bug.
Description
•