Closed Bug 1248185 Opened 8 years ago Closed 8 years ago

Caret moves in cycles when I hold Right arrow in [contenteditable] element

Categories

(Core :: DOM: Editor, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla47
Tracking Status
firefox44 --- unaffected
firefox45 --- wontfix
firefox46 --- wontfix
firefox47 --- fixed

People

(Reporter: arni2033, Assigned: jfkthame)

References

()

Details

(Keywords: regression)

Attachments

(2 files)

>>>   My Info:   Win7_64, Nightly 47, 32bit, ID 20160210071115
STR:
1. Open http://jsbin.com/bisahaqote/edit?html,css,output (from bug 1143742 comment 4)
2. In the "Output" pane, click between "s" and "t" in the first word "test" in that pane
3. Hold Right arrow for 10 seconds

AR:  Caret moves in cycles: when it reaches the end of last line, it teleports to second line
ER:  Caret should reach the end of last line and stay still

This is regression from bug 1153237.
Regression range:
> https://hg.mozilla.org/integration/mozilla-inbound/pushloghtml?fromchange=fc4fd9433e216058359c5337cb86b131e55ee63b&tochange=c206ee0a4809e515294aee998fa0b249a7fe1a16
Attached file reduced html
Testcase based on the example here; fails on current trunk. This will pass after the patch in bug 1248128.
Attachment #8719533 - Flags: review?(roc)
Assignee: nobody → jfkthame
Status: NEW → ASSIGNED
https://hg.mozilla.org/mozilla-central/rev/ee60dc3d0655
Status: ASSIGNED → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla47
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: