Closed
Bug 22120
Opened 25 years ago
Closed 25 years ago
TEXTAREA contents' newlines are ignored
Categories
(Core :: Layout: Form Controls, defect, P3)
Core
Layout: Form Controls
Tracking
()
VERIFIED
WORKSFORME
People
(Reporter: warwick, Assigned: buster)
References
()
Details
This bit of Javascript is supposed to interpret the TEXTAREA on the left,
line-by-line and print a stacktraced version in the right TEXTAREA.
Load this page, you'll see several lines in the left hand TEXTAREA, but only two
lines in the right hand. Go into the left hand TEXTAREA and press return at the
end of each line, then delete the newline you've just inserted. Pressing the
page's UPDATE button will now show several lines in the right hand TEXTAREA.
(Um, I also notice that end-of-data isn't spotted by the TEXTAREA field, as I
type this: left-arrowing at the end of what I've typed doesn't move the caret,
but it does seem to cause the stuff I type to be put into the data area, but I
guess that's a different bug. I can also delete entire paragraphs by deleting
their end-of-line markers... I'm in a hurry to go to a meal, so I can't report
that separately just now. Sorry.)
Reporter | ||
Comment 1•25 years ago
|
||
Something I thought I should add, in case it shows I have a bogus GTK: when I
start M11, I see a number of these reports:
Gtk-WARNING **: /usr/lib/libgdk_imlib.so.1: undefined symbol: gdk_display
and ls -l on this takes me to:
153560 Apr 16 1999 /usr/lib/libgdk_imlib.so.1.9.5
I didn't see any particular GTK notes, and I'm running RedHat 6.0
Reporter | ||
Comment 2•25 years ago
|
||
I've just tried this again from the NT at work, also with M11, and the same
behaviour is exhibited.. Except that the TEXTAREA editing is even more
outrageously bizarre in its newline handling. I've downloaded a copy of the
source, and might find time (amongst all the boozing and eating) to track
somethind down. :)
Updated•25 years ago
|
Component: Javascript Engine → HTML Form Controls
QA Contact: rginda → ckritzer
Comment 3•25 years ago
|
||
Moving to the proper component.
(see http://www.mozilla.org/js/tests/library.html#PLEASE for the scope
of "JavaScript Engine")
Updated•25 years ago
|
Assignee: mccabe → karnaze
Comment 4•25 years ago
|
||
(reassigning to component owner)
Updated•25 years ago
|
Assignee: karnaze → buster
Comment 5•25 years ago
|
||
Reassigning to Steve.
Status: NEW → RESOLVED
Closed: 25 years ago
OS: Linux → All
Hardware: PC → All
Resolution: --- → WORKSFORME
Changed platform and OS to all per submitter's notes.
Marking WorksForMe. Tried in M12 on WinNT, works fine. I know some bugs in
this area have been fixed recently.
QA: please verify on mac and linux as well.
Verified Build 2001082703 os:winNT,Linux7.1,mac 8.6
Status: RESOLVED → VERIFIED
You need to log in
before you can comment on or make changes to this bug.
Description
•