Open Bug 503836 Opened 16 years ago Updated 5 years ago

Cursor shows on a wrong position after press enter key in editable region

Categories

(Core :: DOM: Editor, defect, P5)

1.9.0 Branch
x86
Windows XP
defect

Tracking

()

UNCONFIRMED

People

(Reporter: zihao, Unassigned)

Details

Attachments

(2 files)

User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.0.11) Gecko/2009060215 Firefox/3.0.11 Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.0.11) Gecko/2009060215 Firefox/3.0.11 When using contentEditable in Firefox, copy an image which has margin styles into the RTE, then try to enter text above the image and press enter, the cursor will shows on the top right side of the image. Reproducible: Always Steps to Reproduce: 1. Ctrl+A to select the image in the image.html and copy it 2. Paste the image into the editable region in contentEditable.html 3. Double click at the top of the image, make the cursor at the start point. And enter some text. 4. Press enter key, notice that the cursor jump to the right side. Actual Results: The cursor jump to the right side of the image. But text entered will appear in the front. Expected Results: The cursor should jump to the next line and stay at the front of the line. Entered text should be inserted from the cursor's position.
Attached file editable container
Component: General → Editor
Product: Firefox → Core
QA Contact: general → editor
Version: unspecified → 1.9.0 Branch

Bulk-downgrade of unassigned, >=5 years untouched DOM/Storage bugs' priority.

If you have reason to believe this is wrong (especially for the severity), please write a comment and ni :jstutte.

Severity: normal → S4
Priority: -- → P5
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: