Closed Bug 1745879 Opened 2 years ago Closed 2 years ago

Allow to delete `<hr>` element from next line with a `Backspace` key press

Categories

(Core :: DOM: Editor, task, P3)

task

Tracking

()

RESOLVED FIXED
97 Branch
Tracking Status
firefox97 --- fixed

People

(Reporter: masayuki, Assigned: masayuki)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

Starting from 93, we implemented the new behavior and enabled it in early beta and Nightly channel, and we've never gotten any bugs reports about this. Thus, we can ship the compatible behavior.

Component: DOM: Events → DOM: Editor

Our traditional behavior was, a key press of Backspace from next line of an
<hr> element is just move caret to end of <hr> element and then, following
Backspace key deletes the <hr>. However, the other browsers can delete
<hr> with one key press of Backspace.

We enabled the compatible behavior in early beta and the Nightly channel in 4
cycles and we've never gotten bugs with this change. Thus, it's time to try to
ship the compatible behavior.

Depends on D133719

Pushed by masayuki@d-toybox.com:
https://hg.mozilla.org/integration/autoland/rev/d4caa06f1495
Allow to delete `<hr>` element with a `Backspace` key press from next line of it r=m_kato
Status: ASSIGNED → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 97 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: