Closed
Bug 1327333
Opened 7 years ago
Closed 6 years ago
Contenteditable element becomes 0px in height when I delete text with Ctrl+BackSpace (inconsistently)
Categories
(Core :: DOM: Editor, defect, P3)
Core
DOM: Editor
Tracking
()
RESOLVED
DUPLICATE
of bug 1098151
People
(Reporter: arni2033, Unassigned)
Details
>>>
Scenario 1:
1. Open data:text/html,<div contenteditable style="border:1px solid black">zxcv</div>
2. Click in the end of text in contenteditable to move caret after letter "f"
3. Press Ctrl+BackSpace
Scenario 2:
1. Open data:text/html,<div contenteditable style="border:1px solid black">zxcv</div>
2. Click in the end of text in contenteditable to move caret after letter "f"
3. Press BackSpace 5 times
4. Press Ctrl+BackSpace
AR:
Scenario 1 - contenteditable element becomes 0px in height; caret is displayed outside of the element
Scenario 2 - Contenteditable element displays one empty line; caret is inside the element
ER: Either X or Y. X is better
X) Scenario 1 - contenteditable element should be displayed in a normal way, i.e display 1 empty line
Y) Scenario 2 - contenteditable element should become 0px in height, i.e. consistent behavior
Updated•6 years ago
|
Status: UNCONFIRMED → RESOLVED
Closed: 6 years ago
No longer depends on: 1098151
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•