Closed
Bug 21121
Opened 26 years ago
Closed 26 years ago
blank lines in default value of textarea skipped by arrows
Categories
(Core :: Layout: Form Controls, defect, P3)
Tracking
()
VERIFIED
FIXED
M13
People
(Reporter: dbaron, Assigned: mozeditor)
Details
Attachments
(1 file)
247 bytes,
text/html
|
Details |
DESCRIPTION: If there are blank lines in the default value of a textarea, then
they are skipped when navigating with the up and down arrows. (On the other
hand, blank lines created by pressing enter twice are not skipped, unless they
are created where a blank line already exists from a default value.)
STEPS TO
REPRODUCE:
* load attached testcase
* click on the first line
* hit down arrow repeatedly
ACTUAL RESULTS:
* The cursor starts on the first line, and on pressing the arrow, moves to the
second, fourth, and sixth lines.
EXPECTED RESULTS:
* the cursor should stop on every line
DOES NOT WORK CORRECTLY ON:
* Linux,
apprunner, 1999-12-06-13-M12
WORKS CORRECTLY ON:
* NN 4.x
ADDITIONAL INFORMATION:
There are also some related cutting problems around such lines. For example, in
the attached test case, put the caret at the beginning of "Second line", hold
down shift, hit down arrow (this highlights the line), and hit Delete. The
third line (which is blank) will also be deleted.
This bug was originally described in bug 16813, but that bug is now fixed.
Reporter | ||
Comment 1•26 years ago
|
||
Reporter | ||
Comment 2•26 years ago
|
||
For future reference, this bug was filed from a properly encoded bug template
using Linux Mozilla 1999-12-06-13-M12. There are two newlines in the above that
I did not type (TO/REPRODUCE and Linux,/apprunner).
Updated•26 years ago
|
Assignee: karnaze → jfrancis
Comment 3•26 years ago
|
||
Joe, I think this is the bug where newlines in <pre> cannot take the caret, and
selection appears to skip over them.
[dbaron: there is a known issue with extra linebreaks appearing, which akkana
knows about, and will be fixed by the fix for 20603]
Updated•26 years ago
|
Target Milestone: M13
Comment 4•26 years ago
|
||
setting to m13
Assignee | ||
Updated•26 years ago
|
Status: NEW → ASSIGNED
Assignee | ||
Comment 5•26 years ago
|
||
selection/layout don't play nice with blank lines that are newlines. So I guess
I need to replace them with <br>. sigh.
Assignee | ||
Updated•26 years ago
|
Status: ASSIGNED → RESOLVED
Closed: 26 years ago
Resolution: --- → FIXED
Assignee | ||
Comment 6•26 years ago
|
||
fixed
Comment 7•25 years ago
|
||
Verifying on
-Windows 98 build 2000-09-20-05-M18
-Linux RedHat6.2 build 2000-09-19-21-M18
Status: RESOLVED → VERIFIED
You need to log in
before you can comment on or make changes to this bug.
Description
•