mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-04 02:57:38 +00:00
9507d36bda
Regression of bug 1476897, HTMLEditor::InsertAsPlaintextQuotation() refers |newNode| which is new created <span> element by the method at collapsing Selection. However, it's already been moved to its out param. Therefore, after the fix of bug 1476897, it won't collapse Selection. This patch moves the code moving |newNode| to the out param after collapsing Selection. Additionally, this makes HTMLEditor::InsertAsCitedQuotationInternal() use same style code around collapsing Selection since it's also tested by the new test of nsIEditorMailSupport.insertAsCitedQuotation(). Differential Revision: https://phabricator.services.mozilla.com/D10002 --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 | ||
nsIURIRefObject.idl |