Closed
Bug 107537
Opened 23 years ago
Closed 22 years ago
Accept raw > in textarea
Categories
(Core :: DOM: HTML Parser, defect)
Tracking
()
RESOLVED
FIXED
Future
People
(Reporter: nicolas, Assigned: harishd)
Details
(Keywords: compat, Whiteboard: dup?)
Attachments
(1 file)
26.44 KB,
image/jpeg
|
Details |
When i load a page (see example)
i have a bug in my textarea because i have the '<' character.
<html>
<head>
<title>Untitled Document</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<form name="form1" method="post" action="">
<textarea name="textfield">sfqdsdsfdsfdsfwww</textarea>
</form>
</body>
</html>
Which is the bug in your textarea and which Mozilla build are you using?? I see
the default text "sfqdsdsfdsfdsfwww" as expected, but textarea has three rows
instead of one (even after specifying rows=1). If the latter issue is what you
mean, that's a dupe of bug 33654.
Reporter | ||
Comment 2•23 years ago
|
||
If you try with only one line, you have the same problem.
Example:
<textarea name="textfield" rows="3">wwwwww<ssssss</textarea>
I say that we can use textarea without '<' character but the problem is
that netscape 4 and internet explorer haven't the bug.
My version: Mozilla/5.0 (Windows; U; WinNT4.0; en-US; rv:0.9.5+) Gecko/20011029
![]() |
||
Comment 3•23 years ago
|
||
So the "<" is present in the source? Or _not_ present in the source but
displayed in the browser?
Reporter | ||
Comment 4•23 years ago
|
||
Reporter | ||
Comment 5•23 years ago
|
||
The "<" is in the source.
See the result screen.
![]() |
||
Comment 6•23 years ago
|
||
Parser.
The "<" is illegal there, by the way. You should be using <
Assignee: asa → harishd
Status: UNCONFIRMED → NEW
Component: Browser-General → Parser
Ever confirmed: true
QA Contact: doronr → moied
Whiteboard: dup?
Comment 7•23 years ago
|
||
Ok, so the '<' is illegal here. How can I then deal with, e.g. the block
administration page from a slashdot-like site, where I maintain HTML- and
Perl-Code? Does anyone have a proposal for that?
![]() |
||
Comment 8•23 years ago
|
||
Frank, no matter what's decided here that site is using bad markup and should
fix it... so evangelize them. :)
This bug has been marked "future" because the original netscape engineer working
on this is over-burdened. If you feel this is an error, that you or another
known resource will be working on this bug,or if it blocks your work in some way
-- please attach your concern to the bug for reconsideration.
Status: NEW → ASSIGNED
Target Milestone: --- → Future
Comment 10•23 years ago
|
||
Frank: use < or > in the textarea to achieve the effect you want.
Status: ASSIGNED → RESOLVED
Closed: 23 years ago
Resolution: --- → INVALID
Reopening. Although the markup itself is invalid, some other browsers can handle
it. Also, Mozilla can handle it when the markup is a comment or if it looks like
a real tag (the closing '>' is important).
Status: RESOLVED → REOPENED
Resolution: INVALID → ---
Comment 12•22 years ago
|
||
Changing subject header to be more useful.
Note that I don't believe that Mozilla should support invalid markup, but it
could be all right in quirks mode.
-M
Summary: Error in textarea → Accept raw > in textarea
Assignee | ||
Comment 13•22 years ago
|
||
This bug seems to be fixed.
Status: REOPENED → RESOLVED
Closed: 23 years ago → 22 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•