Closed
Bug 1726475
Opened 4 years ago
Closed 4 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)
Core
DOM: Editor
Tracking
()
RESOLVED
FIXED
93 Branch
| Tracking | Status | |
|---|---|---|
| firefox93 | --- | fixed |
People
(Reporter: masayuki, Assigned: masayuki)
References
(Blocks 1 open bug)
Details
Attachments
(1 file)
I forgot to do this. We have a hidden pref for this and two WPTs are tested with enabling it.
- https://searchfox.org/mozilla-central/rev/d3683dbb252506400c71256ef3994cdbdfb71ada/testing/web-platform/meta/input-events/input-events-get-target-ranges-backspace.tentative.html.ini#4
- https://searchfox.org/mozilla-central/rev/d3683dbb252506400c71256ef3994cdbdfb71ada/testing/web-platform/meta/input-events/input-events-get-target-ranges-non-collapsed-selection.tentative.html.ini#2
We should make it enabled by default in Nightly and early beta builds first.
| Assignee | ||
Updated•4 years ago
|
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
| Assignee | ||
Comment 1•4 years ago
|
||
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
Comment 3•4 years ago
|
||
| bugherder | ||
Status: ASSIGNED → RESOLVED
Closed: 4 years ago
status-firefox93:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 93 Branch
You need to log in
before you can comment on or make changes to this bug.
Description
•