Closed
Bug 596506
Opened 14 years ago
Closed 14 years ago
Going to end of line using Ctrl-e on Mac (or End on Linux/Windows) positions caret after newline in textareas
Categories
(Core :: DOM: Editor, defect)
Core
DOM: Editor
Tracking
()
RESOLVED
FIXED
mozilla2.0b7
Tracking | Status | |
---|---|---|
blocking2.0 | --- | final+ |
People
(Reporter: bzbarsky, Assigned: ehsan.akhgari)
References
Details
(Keywords: dogfood)
Attachments
(1 file)
(deleted),
patch
|
bzbarsky
:
review+
|
Details | Diff | Splinter Review |
BUILD: 2010-09-14 nightly
STEPS TO REPRODUCE:
1) Load "data:text/html,<textarea>" in your browser.
2) Focus the textarea and type "First"
3) Hit enter
4) Type "Second"
6) Use the arrow keys to position the caret before the 'F' in "First".
7) Hit Ctrl-e
8) Type "ly"
EXPECTED RESULTS: Textarea looks like this:
Firstly
Second
ACTUAL RESULTS: Textarea looks like this:
First
lySecond
Additional information: On Mac, the "end" key doesn't go to end of line, as far as I can see. But on Windows and Linux I seem to recall that it does, and those may reproduce the bug that way too. Given that this worked in yesterday's builds, I assume this is a regression from bug 240933.
Reporter | ||
Comment 1•14 years ago
|
||
This has been a pretty major annoyance since updating to this build, fwiw.
blocking2.0: --- → ?
Comment 2•14 years ago
|
||
I can also reproduce this on Linux by substituting step 7 with "Hit <end>".
Mozilla/5.0 (X11; Linux x86_64; rv:2.0b7pre) Gecko/20100914 Firefox/4.0b7pre
Assignee | ||
Comment 3•14 years ago
|
||
Reporter | ||
Comment 4•14 years ago
|
||
Comment on attachment 475624 [details] [diff] [review]
Patch (v1)
r=me
Attachment #475624 -
Flags: review?(roc) → review+
Updated•14 years ago
|
blocking2.0: ? → final+
Updated•14 years ago
|
OS: Mac OS X → All
Hardware: x86 → All
Summary: Going to end of line using Ctrl-e on Mac positions caret after newline in textareas → Going to end of line using Ctrl-e on Mac (or End on Linux/Windows) positions caret after newline in textareas
Assignee | ||
Comment 6•14 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 14 years ago
Flags: in-testsuite+
Resolution: --- → FIXED
Target Milestone: --- → mozilla2.0b7
You need to log in
before you can comment on or make changes to this bug.
Description
•