mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-24 21:31:04 +00:00
c06378ebc9
HTMLEditRules::MaybeSplitAncestorsForInsert() may be called with a point in a text and it needs to return given split point as is. Additionally, the given point may be in a text node. So, it may not be represented with an nsCOMPtr<nsIContent>. Therefore, we need to add new member, EditorDOMPoint, to SplitNodeResult and when MaybeSplitAncestorsForInsert() needs to return the given point as is, it should use it. Note that if the methods which return SplitNodeResult split some nodes actually, the left node and/or the right node may be removed from the DOM tree. In this case, EditorDOMPoint cannot store such orphan node. Therefore, we cannot make mNextNode nor mPreviousNode EditorDOMPoint. MozReview-Commit-ID: LwH8RZzkrmT --HG-- extra : rebase_source : a5ae2328bef3d887c0bf4e1b9c4a4247b93a4ac0 |
||
---|---|---|
.. | ||
composer | ||
libeditor | ||
reftests | ||
txmgr | ||
txtsvc | ||
AsyncSpellCheckTestHelper.jsm | ||
moz.build | ||
nsEditorCID.h | ||
nsIDocumentStateListener.idl | ||
nsIEditActionListener.idl | ||
nsIEditor.idl | ||
nsIEditorMailSupport.idl | ||
nsIEditorObserver.idl | ||
nsIEditorSpellCheck.idl | ||
nsIEditorStyleSheets.idl | ||
nsIEditorUtils.idl | ||
nsIHTMLAbsPosEditor.idl | ||
nsIHTMLEditor.idl | ||
nsIHTMLInlineTableEditor.idl | ||
nsIHTMLObjectResizer.idl | ||
nsIPlaintextEditor.idl | ||
nsITableEditor.idl | ||
nsIURIRefObject.idl | ||
nsPIEditorTransaction.idl |