Skip to content

Commit

Permalink
Bug 1774704 - part 6: Make `HTMLEditor::HandleHTMLIndentAtSelectionIn…
Browse files Browse the repository at this point in the history
…ternal` stop touching `Selection` directly and stop setting `mNewBlockElement` r=m_kato

The change of expected assertion count in the crash test is caused by that the
test calls `execCommand` recursively from the legacy mutation event listeners.
Therefore, stopping updating `Selection` for each DOM tree change causes that
the target range in the nested edit action is changed.  However, the nested
handling has already been disabled by default, so this should not be a problem
for the users.

Differential Revision: https://phabricator.services.mozilla.com/D152973
  • Loading branch information
masayuki-nakano committed Aug 4, 2022
1 parent a1666dc commit b653b11
Show file tree
Hide file tree
Showing 3 changed files with 147 additions and 176 deletions.
Loading

0 comments on commit b653b11

Please sign in to comment.