mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-20 00:35:44 +00:00
743a2e3ea9
This patch is preparation for easier to review. This patch duplicates the body of `MakeSureToKeepVisibleStateOfWhiteSpacesAroundDeletingRange()` and calls the copies from new `MakeSureToKeepVisibleStateOfWhiteSpacesAroundDeletingRange()`. The one is for handling start of deleting range, and the other is for handling end of deleting range. As you see, this patch and the following patches do not work because of the duplicated code. Perhaps, part 2 works if there is no mutation event listeners. Part 9 works even if there is mutation event listeners which touch the DOM tree in the worst case (when it touches both end of delete range and start of delete range, and around the start of deleting range is modified by JS). Finally, part 9 takes back the original performance. Depends on D82715 Differential Revision: https://phabricator.services.mozilla.com/D83217 |
||
---|---|---|
.. | ||
composer | ||
libeditor | ||
reftests | ||
spellchecker | ||
txmgr | ||
AsyncSpellCheckTestHelper.jsm | ||
moz.build | ||
nsIDocumentStateListener.idl | ||
nsIEditActionListener.idl | ||
nsIEditor.idl | ||
nsIEditorMailSupport.idl | ||
nsIEditorObserver.idl | ||
nsIEditorSpellCheck.idl | ||
nsIHTMLAbsPosEditor.idl | ||
nsIHTMLEditor.idl | ||
nsIHTMLInlineTableEditor.idl | ||
nsIHTMLObjectResizer.idl | ||
nsITableEditor.idl |