Open
Bug 685799
Opened 13 years ago
Updated 2 years ago
Delete doesn't work on the last contenteditable=false element nested in a contenteditable=true element
Categories
(Core :: DOM: Editor, defect)
Tracking
()
NEW
People
(Reporter: ioana_damy, Assigned: m_kato)
References
(Blocks 1 open bug)
Details
(Whiteboard: [h2review-noted])
Attachments
(1 file)
(deleted),
text/html
|
Details |
Mozilla/5.0 (Windows NT 6.0; rv:7.0) Gecko/20100101 Firefox/7.0
Mozilla/5.0 (X11; Linux x86_64; rv:8.0a2) Gecko/20110907 Firefox/8.0a2
Mozilla/5.0 (X11; Linux x86_64; rv:9.0a1) Gecko/20110831 Firefox/9.0a1
STR:
1. Open the attached test case.
2. Place the caret in front of the comma before the last span.(the caret cannot be placed right before the span because of bug #685452)
3. Press the Delete key twice.
Expected Results:
The first key press deletes the space before the last span and the second one deletes the last span.
Actual Results:
The last span (blue letter) cannot be deleted.
Workaround:
Select the last span then press Delete.
Comment 1•13 years ago
|
||
FTR/note2self: this bug is related to layout/generic/nsSelection.cpp.
nsFrameSelection::MoveCaret returns NS_ERROR_FAILURE when trying to reach the edge of the editable <div> with cursor keys.
Assignee | ||
Updated•7 years ago
|
Blocks: editor-blink-compat
Assignee | ||
Updated•7 years ago
|
Assignee | ||
Updated•6 years ago
|
Assignee: nobody → m_kato
Assignee | ||
Comment 5•6 years ago
|
||
Comment 6•6 years ago
|
||
This is still the case in version 62, and probably related to issue 1267897
Updated•6 years ago
|
Updated•4 years ago
|
Whiteboard: [h2review-noted]
Updated•2 years ago
|
Severity: normal → S3
Comment 7•2 years ago
|
||
The severity field for this bug is relatively low, S3. However, the bug has 3 duplicates.
:m_kato, could you consider increasing the bug severity?
For more information, please visit auto_nag documentation.
Flags: needinfo?(m_kato)
Comment 8•2 years ago
|
||
The last needinfo from me was triggered in error by recent activity on the bug. I'm clearing the needinfo since this is a very old bug and I don't know if it's still relevant.
Flags: needinfo?(m_kato)
You need to log in
before you can comment on or make changes to this bug.
Description
•