Closed
Bug 32772
Opened 25 years ago
Closed 25 years ago
Quirk of setting form control data continually appends linefeeds to each addition
Categories
(Core :: Layout: Form Controls, defect, P3)
Tracking
()
VERIFIED
FIXED
People
(Reporter: mmastrac, Assigned: buster)
References
()
Details
Attachments
(1 file)
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; N; Linux 2.2.14 i686; en-US; m14)
BuildID: 2000032115
When you add a character to a textarea form element, it automatically adds an
extra linefeed after the character you add (textarea.value += character), making
character-by-character addition impossible. I'll cook up a small testcase, but
it's easy to see on the given example. *May* be related to 26786, but I can't
tell for sure.
Reproducible: Always
Steps to Reproduce:
1. Click the connect button on the test page to start the program
2. The script will "speak" properly the first time
3. Type random text into the "You:" box below
4. Hit "Send"
5. Watch the problem appear.
Actual Results: The text appears one character per line.
Expected Results: The text is appended character-by-character, so it should
appear in a single line.
I don't know if this has anything to do with the bug, but it also seems to be
ignoring the \r\n's I add to the textbox. According to IE and NN4, this seems
to be the Right Way to add a line break to a textbox, but then again, who can
tell :) If this is not expected behaviour unrelated to this bug, I can file a
second bug for it.
Reporter | ||
Comment 1•25 years ago
|
||
Reporter | ||
Comment 3•25 years ago
|
||
Works perfectly now. Thanks to whomever fixed the bug.
Status: UNCONFIRMED → RESOLVED
Closed: 25 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•