зеркало из https://github.com/mozilla/gecko-dev.git
9f9cd9e318
I've already made a caller of `HTMLEditor::ClearStyleAt`, `HTMLEditor::CreateStyleForInsertText`, in bug 1770877, so this fixes a bug of the patch. `HTMLEditor::ClearStyleAt` is still updates `Selection` only in some cases. And one of the caller has not handle the `Selection` update. Therefore, once it completely stop touching `Selection`, `ComputeEditingHost` will fail and the other paths update `Selection`, so it should do it too. (Without the change, `test_dragdrop.html` fails.) Finally, we don't need `EditResult` anymore because we have `Result<EditorDOMPoint, nsresult>`. Differential Revision: https://phabricator.services.mozilla.com/D154343 |
||
---|---|---|
.. | ||
composer | ||
docs | ||
libeditor | ||
reftests | ||
spellchecker | ||
txmgr | ||
AsyncSpellCheckTestHelper.jsm | ||
moz.build | ||
nsIDocumentStateListener.idl | ||
nsIEditActionListener.idl | ||
nsIEditor.idl | ||
nsIEditorMailSupport.idl | ||
nsIEditorSpellCheck.idl | ||
nsIHTMLAbsPosEditor.idl | ||
nsIHTMLEditor.idl | ||
nsIHTMLInlineTableEditor.idl | ||
nsIHTMLObjectResizer.idl | ||
nsITableEditor.idl |