Closed Bug 1726475 Opened 3 years ago Closed 3 years ago

Make `Backspace` key behavior next to `<hr>` element compatible with the other browsers in Nightly and early beta builds

Categories

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

defect

Tracking

()

RESOLVED FIXED
93 Branch
Tracking Status
firefox93 --- fixed

People

(Reporter: masayuki, Assigned: masayuki)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

Summary: Make `Backspace` key next to `<hr>` element compatible with the other browsers in Nightly and early beta builds → Make `Backspace` key behavior next to `<hr>` element compatible with the other browsers in Nightly and early beta builds

Currently, Gecko does not delete <hr> element by Backspace from the
following paragraph. Instead, put caret to after <hr> element and then,
another Backspace deletes the <hr>. This is clearer for users, but
incompatible with the other browsers.

The pref was introduced by https://phabricator.services.mozilla.com/D88969.
And let's try to enable it by default for testers. I guess that it's rare
to allow web apps to allow <hr> element into contenteditable. So, I'm
not sure whether this change can work as experiment.

Pushed by masayuki@d-toybox.com:
https://hg.mozilla.org/integration/autoland/rev/c3438ee0d186
Make `Backspace` around `<hr>` element compatible with the other browsers r=m_kato
Status: ASSIGNED → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → 93 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: