mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-19 00:05:36 +00:00
d48b18fa27
* getAttributeValue * cloneAttribute * splitNode * joinNodes * markNodeDirty * removeEditorObserver are not used from script. Therefore, we can get rid of them from `nsIEditor`. However, `EditorBase::GetAttributeValue()` is referred by `HTMLEditor::CopyCellBackgroundColor()` and it's just a wrapper of `Element::GetAttr()`. Therefore, this patch makes `HTMLEditor::CopyCellBackgroundColor()` use `Element::GetAttr()` directly. And also `EditorBase::MarkNodeDirty()` is used from some friend classes. Therefore, this patch redesigns it as `MarkElementDirty()` and make all of them check whether the method call destroys the editor. Differential Revision: https://phabricator.services.mozilla.com/D60796 --HG-- extra : moz-landing-system : lando |
||
---|---|---|
.. | ||
composer | ||
libeditor | ||
reftests | ||
spellchecker | ||
txmgr | ||
AsyncSpellCheckTestHelper.jsm | ||
moz.build | ||
nsIDocumentStateListener.idl | ||
nsIEditActionListener.idl | ||
nsIEditor.idl | ||
nsIEditorMailSupport.idl | ||
nsIEditorObserver.idl | ||
nsIEditorSpellCheck.idl | ||
nsIEditorStyleSheets.idl | ||
nsIHTMLAbsPosEditor.idl | ||
nsIHTMLEditor.idl | ||
nsIHTMLInlineTableEditor.idl | ||
nsIHTMLObjectResizer.idl | ||
nsIPlaintextEditor.idl | ||
nsITableEditor.idl |