Open Bug 456898 Opened 17 years ago Updated 5 years ago

Cannot delete content from an <editor>'s document until I've added some content.

Categories

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

defect

Tracking

()

People

(Reporter: cfinke, Unassigned)

Details

Attachments

(1 file)

User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9.1a2) Gecko/20080829065003 Shiretoko/3.1a2 Build Identifier: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9.1a2) Gecko/20080829065003 Shiretoko/3.1a2 Given a XUL <editor> that is initialized with a contentDocument that has some content that is editable, a user cannot delete content from that document until he has added some content. Reproducible: Always Steps to Reproduce: 1. Install attached XPI (forthcoming). 2. Navigate to chrome://editor-bug/content/bug.xul This page consists of an editor with an editable document loaded into it. 3. Place the cursor anywhere inside the editor. 4. Try to delete some of the text therein by pressing backspace, or by highlighting text and pressing delete. Actual Results: Nothing happens. Expected Results: Words should be deleted. The above steps work correctly if you insert a sub-step between 3 and 4: 3a. Press space. For some reason, deleting only works after the document has been otherwise modified.
Open chrome://editor-bug/content/bug.xul and try to delete the text there before typing anything.
Confirmed on Windows XP, latest trunk. Maybe related to bug 346523 in a way?
Status: UNCONFIRMED → NEW
Component: General → Editor
Ever confirmed: true
OS: Mac OS X → All
Product: Firefox → Core
QA Contact: general → editor
Hardware: Macintosh → All
Version: unspecified → Trunk
I've seen this for awhile in ScribeFire on OS X. I'll confirm it as well.

Bulk-downgrade of unassigned, untouched DOM/Storage bug's priority.

If you have reason to believe, this is wrong, 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

Created:
Updated:
Size: