Attempting to add characters to a textarea filled to its maxlength with a trailing newline results in the caret to jump to the previous line

RESOLVED FIXED in mozilla2.0b7

Status

()

Core
Editor
RESOLVED FIXED
8 years ago
7 years ago

People

(Reporter: Ehsan, Assigned: Ehsan)

Tracking

Trunk
mozilla2.0b7
x86
Mac OS X
Points:
---
Dependency tree / graph
Bug Flags:
in-testsuite +

Firefox Tracking Flags

(blocking2.0 final+)

Details

(URL)

Attachments

(1 attachment)

(Assignee)

Description

8 years ago
Follow-up to bug 590554 (see bug 590554 comment 14):

> Mozilla/5.0 (X11; Linux i686; rv:2.0b7pre) Gecko/20100917 Firefox/4.0b7pre
> 
> With the test URL in this bug, do the following:
> 
> 1. Focus the textarea.
> 2. Press a
> 3. Press b
> 4. Press Enter
> 5. Press c
> 
> After step 5 the caret moves to the end of the first line (after b). I think
> this is unexpected. If step 5 is "Press Enter" the caret doesn't move.
(Assignee)

Updated

8 years ago
blocking2.0: --- → ?
(Assignee)

Comment 1

8 years ago
Created attachment 476428 [details] [diff] [review]
Patch (v1)
Assignee: nobody → ehsan
Status: NEW → ASSIGNED
Attachment #476428 - Flags: review?(roc)
(Assignee)

Updated

8 years ago
Attachment #476428 - Flags: approval2.0?
blocking2.0: ? → final+
(Assignee)

Updated

8 years ago
Attachment #476428 - Flags: approval2.0?
(Assignee)

Updated

8 years ago
Whiteboard: [needs landing]
(Assignee)

Comment 2

8 years ago
http://hg.mozilla.org/mozilla-central/rev/fbc47ccbce1d
Status: ASSIGNED → RESOLVED
Last Resolved: 8 years ago
Flags: in-testsuite+
Resolution: --- → FIXED
Whiteboard: [needs landing]
Target Milestone: --- → mozilla2.0b8
Depends on: 603556
Target Milestone: mozilla2.0b8 → mozilla2.0b7

Updated

7 years ago
Depends on: 655918
You need to log in before you can comment on or make changes to this bug.