Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make
AutoMoveOneLineHandler
track the new line range while moving c…
…ontent nodes It moves nodes in a range to new place one by one. At this time, the moved position range is not tracked. Therefore, if the DOM tree is unexpectedly changed by `HTMLEditor` itself, the range gets broken. E.g., in this case, deleting empty inline element causes the range after the source position is broken. Differential Revision: https://phabricator.services.mozilla.com/D192180 bugzilla-url: https://bugzilla.mozilla.org/show_bug.cgi?id=1858794 gecko-commit: a7200c4d402a2ac9407512a17978f59356d94470 gecko-reviewers: m_kato
- Loading branch information