gecko-dev/editor
Masayuki Nakano acff628112 Bug 1747008 - Make `HTMLEditor::OnEndHandlingTopLevelEditSubActionInternal` stop stripping empty inline elements if they may be inserted intentionally r=m_kato
Starting from bug 1730429, we strip empty inline elements at caret for
compatibility with Blink/WebKit.  However, we should not do it for the elements
which are intentionally inserted (from `inserthtml` command, paste and DnD).

All the cases are handled by `HTMLEditor::HTMLWithContextInserter` so that
it should prevent the new clean up with `TopLevelEditSubActionData`.

Note that `inserthtml` command handling of Blink is really odd.  It inserts
the empty inline elements of the adding testcases into different place so that
Chrome does not pass the new tests.  However, it does not make sense and I
believe that it's out of scope of this bug.

Differential Revision: https://phabricator.services.mozilla.com/D135195
2022-01-07 03:08:41 +00:00
..
composer Bug 1738401 - Remove -Wno-shadow warning suppressions. r=firefox-build-system-reviewers,glandium 2021-12-01 06:40:04 +00:00
docs Bug 1687167 - Move IME handling guide to source tree. r=masayuki DONTBUILD 2021-01-19 06:07:27 +00:00
libeditor Bug 1747008 - Make `HTMLEditor::OnEndHandlingTopLevelEditSubActionInternal` stop stripping empty inline elements if they may be inserted intentionally r=m_kato 2022-01-07 03:08:41 +00:00
reftests Bug 1736507 - Make `HTMLEditor` updates its specific UI (if there is) after dispatching `input` event r=m_kato 2021-10-19 20:45:37 +00:00
spellchecker Bug 1741148 - part 3: Make users of `nsINode::ComputeIndexOf_Deprecated()` use `nsINode::ComputeIndexOf()` if the result is not set to `int32_t` nor return as `int32_t` r=smaug 2021-12-09 11:55:36 +00:00
txmgr Bug 1683534 - Make `editor` buildable outside of `unified-build` environment. r=sg 2021-01-04 14:18:50 +00:00
AsyncSpellCheckTestHelper.jsm
moz.build Bug 1717178 - part 7: Get rid of `nsIEditor::AddEditorObserver()` and `nsIEditorObserver` interface because of unused r=m_kato 2021-06-28 12:08:51 +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 1714914 - Make editor classes treat offset in parent node as uint32_t r=m_kato 2021-06-30 07:07:28 +00:00
nsIEditorMailSupport.idl
nsIEditorSpellCheck.idl Bug 1719110 - Add nsIEditorSpellCheck.suggest to get rid of PRemoteSpellcheckEngine.CheckAndSuggest. r=masayuki 2021-08-10 03:55:25 +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 1671556 - part 2: Replace `nsITableEditor.getFirstSelectedCell()` and `nsITableEditor.getNextSelectedCell()` with `nsITableEditor.getSelectedCells()` r=m_kato 2020-10-24 04:12:38 +00:00