gecko-dev/editor
Masayuki Nakano ba5d192b11 Bug 1798214 - Make `HTMLeditor::AdjustCaretPositionAndEnsurePaddingBRElement` invalidate child after inserting `<br>` element of the insertion point r=m_kato
It keeps using the insertion point after inserting `<br>` element for making
empty last line visible. Therefore, referring `IsStartOfContainer` in
`HTMLEditUtils::GetPreviousContent` causes the warning of mismating offset
and child node.

According to the old code [1], `HTMLEditRules` keeps scanning the DOM tree with
the offset of the insertion point.  Therefore, it should invalidate the child
after inserting `<br>` element.

1. https://searchfox.org/mozilla-central/rev/7b5f4b93ca3e96f9fb9b5793b58080c1e44bd4f6/editor/libeditor/HTMLEditRules.cpp#7606,7631

Differential Revision: https://phabricator.services.mozilla.com/D161246
2022-11-07 02:33:35 +00:00
..
composer Bug 1797840: Replace stray tab characters with spaces in IDL files throughout the tree. r=mccr8,necko-reviewers,credential-management-reviewers,smaug,sgalich,valentin 2022-10-28 18:08:17 +00:00
docs Bug 1796732 - Write first shot of douments of the editor module r=m_kato DONTBUILD 2022-10-27 03:21:13 +00:00
libeditor Bug 1798214 - Make `HTMLeditor::AdjustCaretPositionAndEnsurePaddingBRElement` invalidate child after inserting `<br>` element of the insertion point r=m_kato 2022-11-07 02:33:35 +00:00
reftests Bug 1788321, wait for idle time before trying to paint the -ref page, r=dminor 2022-10-24 11:25:24 +00:00
spellchecker Bug 1795322 - Update toolkit modules references in remaining places. r=mossop,zeid,geckoview-reviewers,calu 2022-10-26 08:06:37 +00:00
txmgr Bug 1794811, part 1 - Include nsISupports.h instead of nsISupportsBase.h. r=necko-reviewers,nika,valentin 2022-10-17 16:09:22 +00:00
AsyncSpellCheckTestHelper.jsm Bug 1761273 - Check for multiple dictionaries when saving site preferences; r=smaug 2022-03-24 22:29:42 +00:00
moz.build Bug 1769128 - Enable '-ftrivial-auto-var-init=pattern' in editor. r=glandium 2022-05-26 06:15:36 +00:00
nsIDocumentStateListener.idl
nsIEditActionListener.idl Bug 1739545 - part 2: Redesign `TextServicesDocument::DidJoinNodes()` methods r=m_kato 2021-11-09 01:09:20 +00:00
nsIEditor.idl Bug 1768315 - Get rid of `nsIEditor.transactionManager` due to unused r=m_kato 2022-10-27 22:50:07 +00:00
nsIEditorMailSupport.idl Bug 1768057 - Make nsIEditorMailSupport::insertTextWithQuotations available to JS callers. r=masayuki 2022-05-11 14:49:29 +00:00
nsIEditorSpellCheck.idl Bug 1402822 - Support multiple dictionaries in EditorSpellCheck; r=smaug 2022-03-23 13:53:38 +00:00
nsIHTMLAbsPosEditor.idl Bug 1717178 - part 2: Get rid of `nsIHTMLAbsPosEditor.refreshGrabber()` because of unused r=m_kato 2021-06-28 12:08:49 +00:00
nsIHTMLEditor.idl Bug 1717178 - part 6: Get rid of `nsIHTMLEditor.setCaretAfterElement()` because of unused r=m_kato 2021-06-28 12:08:51 +00:00
nsIHTMLInlineTableEditor.idl Bug 1717178 - part 1: Get rid of `nsIHTMLInlineTableEditor.refreshInlineTableEditingUI()` because of unused r=m_kato 2021-06-28 12:08:49 +00:00
nsIHTMLObjectResizer.idl Bug 1717178 - part 3: Get rid of `nsIHTMLObjectResizer.refreshResizers()` because of unused r=m_kato 2021-06-28 12:08:49 +00:00
nsITableEditor.idl Bug 1730442 - part 1: Make all `nsITableEditor` features flush pending layout at start to handle their jobs r=m_kato 2022-05-20 07:39:51 +00:00