Open
Bug 1518606
Opened 6 years ago
Updated 3 years ago
Backspace fails to remove linebreak and <span> gets duplicated inside contenteditable <div>
Categories
(Core :: DOM: Editor, defect, P3)
Tracking
()
NEW
People
(Reporter: lafleur.justin, Unassigned)
References
(Blocks 1 open bug)
Details
(Whiteboard: [h2review-noted])
Attachments
(1 file)
192 bytes,
text/html
|
Details |
User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:60.0) Gecko/20100101 Firefox/60.0
Steps to reproduce:
- Open the attached file in Firefox
- Place your cursor at the start of the second line
- Hit backspace many times
Actual results:
The backspace action fails and the span node with class "dontCloneMe" is duplicated in the document as many times as backspace was hit.
Expected results:
The linebreak should have been removed and the text from the p tag should have merged with the text from the list. No extra "dontCloneMe" span nodes should be created.
Same as chrome.
Comment 1•6 years ago
|
||
Reproducible, adding the component in order to involve the development team.
Status: UNCONFIRMED → NEW
status-firefox64:
--- → affected
status-firefox65:
--- → affected
status-firefox66:
--- → affected
Component: Untriaged → Editor
Ever confirmed: true
Product: Firefox → Core
Updated•6 years ago
|
Priority: -- → P3
Updated•6 years ago
|
Blocks: editor-blink-compat
Comment 2•5 years ago
|
||
This resembles Bug 1621592 where <p>
inside <span>
can't merge with the parent and instead creates a clone of the parent.
See Also: → 1621592
Updated•5 years ago
|
Whiteboard: [h2review-noted]
Updated•3 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•