Closed Bug 597519 Opened 10 years ago Closed 9 years ago

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

Categories

(Core :: DOM: Editor, defect)

x86
macOS
defect
Not set

Tracking

()

RESOLVED FIXED
mozilla2.0b7
Tracking Status
blocking2.0 --- final+

People

(Reporter: ehsan, Assigned: ehsan)

References

()

Details

Attachments

(1 file)

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.
blocking2.0: --- → ?
Attached patch Patch (v1)Splinter Review
Assignee: nobody → ehsan
Status: NEW → ASSIGNED
Attachment #476428 - Flags: review?(roc)
Attachment #476428 - Flags: approval2.0?
Attachment #476428 - Flags: approval2.0?
Whiteboard: [needs landing]
http://hg.mozilla.org/mozilla-central/rev/fbc47ccbce1d
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
Flags: in-testsuite+
Resolution: --- → FIXED
Whiteboard: [needs landing]
Target Milestone: --- → mozilla2.0b8
Depends on: 603556
Target Milestone: mozilla2.0b8 → mozilla2.0b7
Depends on: 655918
You need to log in before you can comment on or make changes to this bug.