Closed
Bug 1658534
Opened 4 years ago
Closed 4 years ago
Make `HTMLEditor::HandleDeleteCollapsedSelectionAtAtomicContent()` stop recursive call
Categories
(Core :: DOM: Editor, task, P2)
Core
DOM: Editor
Tracking
()
RESOLVED
FIXED
81 Branch
Tracking | Status | |
---|---|---|
firefox81 | --- | fixed |
People
(Reporter: masayuki, Assigned: masayuki)
References
Details
Attachments
(2 files)
When it removes an invisible <br>
element, it calls HandleDeleteSelectionInternal()
recursively to delete its preceding content. However, now, we must be able to compute the preceding content's range and delete it without the dangerous recursive call.
Assignee | ||
Updated•4 years ago
|
Severity: -- → S3
Priority: -- → P2
Assignee | ||
Comment 1•4 years ago
|
||
Depends on D86886
Assignee | ||
Comment 2•4 years ago
|
||
Depends on D86909
Pushed by masayuki@d-toybox.com:
https://hg.mozilla.org/integration/autoland/rev/361b77c4aaa2
part 1: Split the removing invisible `<br>` element part off from `HTMLEditor::HandleDeleteCollapsedSelectionAtAtomicContent()` r=m_kato
https://hg.mozilla.org/integration/autoland/rev/fe37e2106c17
part 2: Avoid infinite recursive calls at removing an invisible `<br>` element r=m_kato
Comment 4•4 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/361b77c4aaa2
https://hg.mozilla.org/mozilla-central/rev/fe37e2106c17
Status: ASSIGNED → RESOLVED
Closed: 4 years ago
status-firefox81:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 81 Branch
You need to log in
before you can comment on or make changes to this bug.
Description
•