Closed
Bug 342684
Opened 18 years ago
Closed 18 years ago
Weird insertion of new line into textarea when using CTRL+A, right-arrow, then inserting any character
Categories
(Core :: Layout: Form Controls, defect)
Core
Layout: Form Controls
Tracking
()
RESOLVED
DUPLICATE
of bug 125766
People
(Reporter: sciguyryan, Unassigned)
Details
This is another weird one...
Here are the steps to reproduce it.
1. Type anything on a single line in a textarea.
2. Highlight all the text using CTRL+A
3. Copy the text using CTRL+C
4. Move the caret using the right arrow key (no mouse).
5. Insert a space and it will go to a new line.
Don't think this is desired behaviour so reported it as a bug, no need for a testcase because it only involves a textarea.
Comment 1•18 years ago
|
||
Reproduced in:
Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.9a1) Gecko/20060624 Minefield/3.0a1 ID:2006062405
Step 3 is not necessary.In step 5, you can type any character, not necessarily a space.
OS: Windows XP → All
Hardware: PC → All
Comment 2•18 years ago
|
||
Actually, this is probably the same as bug 125766 (which describes the special case of pressing Enter in step 5).
Reporter | ||
Comment 3•18 years ago
|
||
(In reply to comment #1)
> Step 3 is not necessary.In step 5, you can type any character, not necessarily
> a space.
>
Updates desc.
Summary: Weird insertion of new line into textarea when using CTRL+A, CTRL+C then inserting a space. → Weird insertion of new line into textarea when using CTRL+A, CTRL+C then inserting any character.
Updated•18 years ago
|
Summary: Weird insertion of new line into textarea when using CTRL+A, CTRL+C then inserting any character. → Weird insertion of new line into textarea when using CTRL+A, right-arrow, then inserting any character
Comment 4•18 years ago
|
||
I suppose the only reasonable way to fix this would be by fixing bug 240933.
Depends on: 240933
Comment 5•18 years ago
|
||
Marking as duplicate of 125766. I added bug 125766 comment 14 to describe the general problem.
*** This bug has been marked as a duplicate of 125766 ***
You need to log in
before you can comment on or make changes to this bug.
Description
•