Can't insert text between non-editable SPAN inside a contenteditable DIV

NEW
Unassigned

Status

()

Core
Editor
10 years ago
3 years ago

People

(Reporter: Robbie Paplin, Unassigned)

Tracking

({testcase})

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment)

(Reporter)

Description

10 years ago
User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.9.0.1) Gecko/2008070208 Firefox/3.0.1
Build Identifier: 

The page listed above has a DIV with a contenteditable = true attribute. The
DIV contains SPAN elements with a contenteditable = false attribute. When I attempt to place the caret between the SPAN elements, the browser does not let me place the caret between the SPAN elements or insert text between them.


Reproducible: Always

Steps to Reproduce:
1. Goto the attached repro case
2. Place the caret in the recipient well by clicking to the right of Steve Jobs
3. Attempt to place the caret between Bill Gates and Steve Jobs (via left arrow key) and insert text
Actual Results:  
1. You can't place the caret between the Bill Gates and Steve Jobs span elements
2. You can't add text between the Bill Gates and Steve Jobs spans

Expected Results:  
1. You can place the caret between Bill Gates and Steve Jobs
2. You can add text between the Bill Gates and Steve Jobs spans
3. Since the text node between Bill Gates and Steve Jobs is inside a contenteditable div you should be able edit the text between the non-editable spans

On Internet Explorer 7 for Windows it works as expected
(Reporter)

Comment 1

10 years ago
Created attachment 332854 [details]
Can't place caret between non-editable SPAN elements in a contenteditable DIV

Comment 2

10 years ago
Can confirm: Cant put focus between the spans using the arrow keys or clicking on the SPANS or clicking between them.

But you can click just below the spans and the focus goes where you want.
Blocks: 237964
Status: UNCONFIRMED → NEW
Ever confirmed: true
Keywords: testcase
You need to log in before you can comment on or make changes to this bug.