Contenteditable element becomes 0px in height when I delete text with Ctrl+BackSpace (inconsistently)

UNCONFIRMED
Unassigned

Status

()

P3
normal
UNCONFIRMED
2 years ago
2 years ago

People

(Reporter: arni2033, Unassigned)

Tracking

(Depends on: 1 bug)

Trunk
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

2 years ago
>>>
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
(Reporter)

Updated

2 years ago
No longer blocks: 1277113
(Reporter)

Updated

2 years ago
Component: Untriaged → Editor
Product: Firefox → Core
Maybe, this is dup of bug 1098151
Priority: -- → P3

Updated

2 years ago
Depends on: 1098151
You need to log in before you can comment on or make changes to this bug.