gecko-dev/editor
Masayuki Nakano 5b5492e588 Bug 1435123 - HTMLEditor::GetBlock() has to specify given ancestor limit node to HTMLEditor::GetBlockNodeParent() r=m_kato
This is a simple bug of internal API of HTMLEditor.  HTMLEditor::GetBlock()
tries to retrieve nearest ancestor block node (including itself) of a node.
HTMLEditor::GetBlock() may have ancestor limiter typically it's active
editing host to prevent to modify editing host or its ancestor accidentally.

However, it forgets to call HTMLEditor::GetBlockNodeParent() with the given
ancestor limit node.  Therefore, if editing host is an inline element and
its parent is a block element, the editing host is split accidentally.

MozReview-Commit-ID: Ermmxdnk4KB

--HG--
extra : rebase_source : c9b57c5bb28cd63b6f16702317f7ddb7fb5a26f6
2018-03-29 18:57:57 +09:00
..
composer Bug 1448018, remove ContainerBoxObject which is only used to access the docshell, but bug 1448018 made the docshell accessible from the frameloader instead so the container box object is no longer being used. Change some editor tests which just access the docShell directly rather than through the box object, r=bz 2018-03-29 10:44:52 -04:00
libeditor Bug 1435123 - HTMLEditor::GetBlock() has to specify given ancestor limit node to HTMLEditor::GetBlockNodeParent() r=m_kato 2018-03-29 18:57:57 +09:00
reftests Bug 1429573 - Use input[type=number] in textbox[type=number] implementation. r=Paolo,surkov 2018-02-09 21:54:36 +00:00
spellchecker Bug 1447889 part 8. Remove nsIDOMRange::SelectNode/SelectNodeContents. r=mystor 2018-03-27 00:35:21 -04:00
txmgr Bug 1447924 - part 7: Implement AddTransactionListener() and RemoveTransactionListener() in EditorBase and TransactionManager r=m_kato 2018-03-23 18:55:56 +09:00
AsyncSpellCheckTestHelper.jsm Bug 1440284 - change this.EXPORTED_SYMBOLS back to var EXPORTED_SYMBOLS in JS modules, r=mccr8. 2018-02-23 20:50:01 +01:00
moz.build Bug 1442500 - Part 1. Rename editor/txtsvc to editor/spellchecker. r=masayuki 2018-03-02 12:55:26 +09:00
nsEditorCID.h
nsIDocumentStateListener.idl
nsIEditActionListener.idl Bug 1446533 part 10. Remove remaining nsIDOMCharacterData uses in editor. r=mystor 2018-03-19 15:45:55 -04:00
nsIEditor.idl Bug 1448780 - Get rid of nsIEditor.numberOfUndoItems and nsIEditor.numberOfRedoItems r=m_kato 2018-03-26 18:11:06 +09:00
nsIEditorMailSupport.idl Bug 1060051 - Make editor related interfaces builtin classes if it's possible r=Ehsan,smaug 2017-08-04 13:57:56 +09:00
nsIEditorObserver.idl Bug 1432528 - part 4: Remove nsIEditorObserver::BeforeEditAction() and nsIEditorObserver::CancelEditAction() because nobody implements them r=m_kato 2018-01-24 14:31:29 +09:00
nsIEditorSpellCheck.idl Bug 1424677 - Don't use wstring for nsIEditorSpellCheck. r=masayuki 2017-12-13 04:14:27 -06:00
nsIEditorStyleSheets.idl Bug 1060051 - Make editor related interfaces builtin classes if it's possible r=Ehsan,smaug 2017-08-04 13:57:56 +09:00
nsIEditorUtils.idl Bug 1060051 - Make editor related interfaces builtin classes if it's possible r=Ehsan,smaug 2017-08-04 13:57:56 +09:00
nsIHTMLAbsPosEditor.idl Bug 1433849 - Remove unused methods in nsIHTMLAbsPosEditor. r=masayuki 2018-02-01 10:55:25 +09:00
nsIHTMLEditor.idl Bug 1432944 part 2. Make nsIHTMLEditor.getSelectedElement return nsISupports. r=m_kato 2018-01-29 23:27:59 -05:00
nsIHTMLInlineTableEditor.idl Bug 1425547 - Remove unused methods from nsIHTMLInlineTableEditor. r=masayuki 2018-01-19 16:41:41 +09:00
nsIHTMLObjectResizer.idl Bug 1425652 - mosueDown, mouseUp and mouseMove should be removed from nsIHTMLObjectResizer. r=masayuki 2018-01-10 12:47:16 +09:00
nsIPlaintextEditor.idl Bug 1439812 - Move noscript methods of nsIPlainTextEditor to TextEditor. r=masayuki 2018-02-21 13:21:57 +09:00
nsITableEditor.idl Bug 1387317 - part1: Make AutoSelectionSetterAfterTableEdit use HTMLEditor instead of nsITableEditor r=m_kato 2017-08-08 10:57:19 +09:00
nsIURIRefObject.idl