gecko-dev/editor/libeditor
Masayuki Nakano 984b60a1b6 Bug 1727008 - `HTMLEditor` shouldn't strip `<html>` element nor `<body>` elements r=m_kato
The new editor utility method does not stop scanning editable elements even if
it reaches the document root nor the (primary) `<body>` element.  Of course,
they should stop there if scanning editable block.  And
`ScanEmptyBlockInclusiveAncestor()` shouldn't store the removable empty block
element to them.

Differential Revision: https://phabricator.services.mozilla.com/D123316
2021-08-23 10:05:32 +00:00
..
crashtests Bug 1725291 - part 3: Make `WhiteSpaceVisibilityKeeper::MergeFirstLineOf(Right|Left)BlockElementIntoDescendant(Left|Right)BlockElement()` abort handling it if joining elements become non-editable r=m_kato 2021-08-17 00:45:45 +00:00
tests Bug 1726064 - part 20: Make `HTMLEditor::RemoveBlockContainerElements()` use `HTMLEditUtils::GetAncestorElement()` r=m_kato 2021-08-23 06:27:39 +00:00
CSSEditUtils.cpp Bug 1723921 - Throw on invalid pseudo-elements in getComputedStyle() as per spec. r=dholbert,layout-reviewers 2021-08-07 09:55:55 +00:00
CSSEditUtils.h
ChangeAttributeTransaction.cpp Bug 1697876 - part 1: Add logging code to transaction classes for making easier to debug r=m_kato 2021-04-05 11:35:48 +00:00
ChangeAttributeTransaction.h Bug 1697876 - part 1: Add logging code to transaction classes for making easier to debug r=m_kato 2021-04-05 11:35:48 +00:00
ChangeStyleTransaction.cpp Bug 1697876 - part 1: Add logging code to transaction classes for making easier to debug r=m_kato 2021-04-05 11:35:48 +00:00
ChangeStyleTransaction.h Bug 1697876 - part 1: Add logging code to transaction classes for making easier to debug r=m_kato 2021-04-05 11:35:48 +00:00
CompositionTransaction.cpp Bug 1714914 - Make editor classes treat offset in parent node as uint32_t r=m_kato 2021-06-30 07:07:28 +00:00
CompositionTransaction.h Bug 1697876 - part 1: Add logging code to transaction classes for making easier to debug r=m_kato 2021-04-05 11:35:48 +00:00
CreateElementTransaction.cpp Bug 1697876 - part 1: Add logging code to transaction classes for making easier to debug r=m_kato 2021-04-05 11:35:48 +00:00
CreateElementTransaction.h Bug 1697876 - part 1: Add logging code to transaction classes for making easier to debug r=m_kato 2021-04-05 11:35:48 +00:00
DeleteNodeTransaction.cpp Bug 1713334 - Part 1: Keep a text node inside text controls even if empty r=masayuki,Jamie 2021-06-18 00:36:53 +00:00
DeleteNodeTransaction.h Bug 1697876 - part 1: Add logging code to transaction classes for making easier to debug r=m_kato 2021-04-05 11:35:48 +00:00
DeleteRangeTransaction.cpp Bug 1714914 - Make editor classes treat offset in parent node as uint32_t r=m_kato 2021-06-30 07:07:28 +00:00
DeleteRangeTransaction.h
DeleteTextTransaction.cpp Bug 1697876 - part 1: Add logging code to transaction classes for making easier to debug r=m_kato 2021-04-05 11:35:48 +00:00
DeleteTextTransaction.h Bug 1697876 - part 1: Add logging code to transaction classes for making easier to debug r=m_kato 2021-04-05 11:35:48 +00:00
EditAction.h Bug 1701348 - Make `TextEditor::Init()` and `HTMLEditor::Init()` stop using `EditAction::eNotEditing` r=m_kato 2021-04-08 08:51:41 +00:00
EditActionListener.h
EditAggregateTransaction.cpp Bug 1697876 - part 1: Add logging code to transaction classes for making easier to debug r=m_kato 2021-04-05 11:35:48 +00:00
EditAggregateTransaction.h
EditTransactionBase.cpp Bug 1697876 - part 1: Add logging code to transaction classes for making easier to debug r=m_kato 2021-04-05 11:35:48 +00:00
EditTransactionBase.h Bug 1697876 - part 1: Add logging code to transaction classes for making easier to debug r=m_kato 2021-04-05 11:35:48 +00:00
EditorBase.cpp Bug 1723125 - Ignore normal selection when updating composition string r=m_kato 2021-08-02 08:23:50 +00:00
EditorBase.h Bug 1723125 - Ignore normal selection when updating composition string r=m_kato 2021-08-02 08:23:50 +00:00
EditorCommands.cpp Bug 1713756 - Make editor command classes treat `EditorBase` instead of `TextEditor` r=m_kato 2021-06-09 07:17:52 +00:00
EditorCommands.h Bug 1713756 - Make editor command classes treat `EditorBase` instead of `TextEditor` r=m_kato 2021-06-09 07:17:52 +00:00
EditorController.cpp
EditorController.h
EditorDOMPoint.h Bug 1726064 - part 14: Make `AutoDeleteRangesHandler::ExtendRangeToIncludeInvisibleNodes()` use `HTMLEditUtils::GetInclusiveAncestorElement()` r=m_kato 2021-08-22 21:32:21 +00:00
EditorEventListener.cpp Bug 1519636 - Reformat recent changes to the Google coding style. r=emilio 2021-08-23 09:30:23 +00:00
EditorEventListener.h Bug 1724225 - Part 1: Replace dragexit with dragleave in editor/libeditor/ r=masayuki 2021-08-07 09:29:18 +00:00
EditorUtils.cpp Bug 1723921 - Cleanup nsComputedDOMStyle and related APIs. r=layout-reviewers,jfkthame 2021-08-07 09:47:15 +00:00
EditorUtils.h Bug 1725291 - part 2: Make `HTMLEditor::OnEndHandlingTopLevelEditSubActionInternal()` guarantee that `WhiteSpaceVisibilityKeeper::NormalizeVisibleWhiteSpacesAt()` is called with editable point r=m_kato 2021-08-17 00:04:16 +00:00
HTMLAbsPositionEditor.cpp Bug 1723921 - Cleanup nsComputedDOMStyle and related APIs. r=layout-reviewers,jfkthame 2021-08-07 09:47:15 +00:00
HTMLAnonymousNodeEditor.cpp
HTMLEditSubActionHandler.cpp Bug 1726064 - part 21: Make `HTMLEditor::AdjustCaretPositionAndEnsurePaddingBRElement()` use `HTMLEditUtils::Get(Inclusive)AncestorElement()` r=m_kato 2021-08-23 06:39:39 +00:00
HTMLEditUtils.cpp Bug 1727008 - `HTMLEditor` shouldn't strip `<html>` element nor `<body>` elements r=m_kato 2021-08-23 10:05:32 +00:00
HTMLEditUtils.h Bug 1727008 - `HTMLEditor` shouldn't strip `<html>` element nor `<body>` elements r=m_kato 2021-08-23 10:05:32 +00:00
HTMLEditor.cpp Bug 1726064 - part 15: Make `HTMLEditor::EnsureCaretNotAfterPaddingBRElement()` use `HTMLEditUtils::Get(Inclusive)AncestorElement()` r=m_kato 2021-08-22 21:38:20 +00:00
HTMLEditor.h Bug 1726064 - part 15: Make `HTMLEditor::EnsureCaretNotAfterPaddingBRElement()` use `HTMLEditUtils::Get(Inclusive)AncestorElement()` r=m_kato 2021-08-22 21:38:20 +00:00
HTMLEditorCommands.cpp Bug 1714918 - Sort out editor class accessors of `nsIEditor` r=m_kato 2021-06-11 03:01:08 +00:00
HTMLEditorController.cpp
HTMLEditorController.h
HTMLEditorDataTransfer.cpp Bug 1726064 - part 15: Make `HTMLEditor::EnsureCaretNotAfterPaddingBRElement()` use `HTMLEditUtils::Get(Inclusive)AncestorElement()` r=m_kato 2021-08-22 21:38:20 +00:00
HTMLEditorDeleteHandler.cpp Bug 1727008 - `HTMLEditor` shouldn't strip `<html>` element nor `<body>` elements r=m_kato 2021-08-23 10:05:32 +00:00
HTMLEditorDocumentCommands.cpp Bug 1714918 - Sort out editor class accessors of `nsIEditor` r=m_kato 2021-06-11 03:01:08 +00:00
HTMLEditorEventListener.cpp Bug 1714914 - Make editor classes treat offset in parent node as uint32_t r=m_kato 2021-06-30 07:07:28 +00:00
HTMLEditorEventListener.h
HTMLEditorObjectResizer.cpp Bug 1717178 - part 3: Get rid of `nsIHTMLObjectResizer.refreshResizers()` because of unused r=m_kato 2021-06-28 12:08:49 +00:00
HTMLEditorState.cpp Bug 1726064 - part 10: Make the constructor of `AlignStateAtSelection` use `HTMLEditUtils::GetInclusiveAncestorElement()` r=m_kato 2021-08-20 22:17:02 +00:00
HTMLInlineTableEditor.cpp Bug 1717178 - part 1: Get rid of `nsIHTMLInlineTableEditor.refreshInlineTableEditingUI()` because of unused r=m_kato 2021-06-28 12:08:49 +00:00
HTMLStyleEditor.cpp Bug 1714914 - Make editor classes treat offset in parent node as uint32_t r=m_kato 2021-06-30 07:07:28 +00:00
HTMLTableEditor.cpp Bug 1718815 - part 4: Move `EditorBase::AppendNodeToSelectionAsRange()` and `EditorBase::ClearSelection()` to `HTMLEditor` r=m_kato 2021-07-02 08:23:46 +00:00
InsertNodeTransaction.cpp Bug 1713334 - Part 1: Keep a text node inside text controls even if empty r=masayuki,Jamie 2021-06-18 00:36:53 +00:00
InsertNodeTransaction.h Bug 1697876 - part 1: Add logging code to transaction classes for making easier to debug r=m_kato 2021-04-05 11:35:48 +00:00
InsertTextTransaction.cpp Bug 1697876 - part 1: Add logging code to transaction classes for making easier to debug r=m_kato 2021-04-05 11:35:48 +00:00
InsertTextTransaction.h Bug 1697876 - part 1: Add logging code to transaction classes for making easier to debug r=m_kato 2021-04-05 11:35:48 +00:00
InternetCiter.cpp
InternetCiter.h
JoinNodeTransaction.cpp Bug 1697876 - part 1: Add logging code to transaction classes for making easier to debug r=m_kato 2021-04-05 11:35:48 +00:00
JoinNodeTransaction.h Bug 1697876 - part 1: Add logging code to transaction classes for making easier to debug r=m_kato 2021-04-05 11:35:48 +00:00
ManualNAC.h
PlaceholderTransaction.cpp Bug 1697876 - part 1: Add logging code to transaction classes for making easier to debug r=m_kato 2021-04-05 11:35:48 +00:00
PlaceholderTransaction.h
ReplaceTextTransaction.cpp Bug 1697876 - part 1: Add logging code to transaction classes for making easier to debug r=m_kato 2021-04-05 11:35:48 +00:00
ReplaceTextTransaction.h Bug 1697876 - part 1: Add logging code to transaction classes for making easier to debug r=m_kato 2021-04-05 11:35:48 +00:00
SelectionState.cpp Bug 1719669 - Fix the reverse loop in `SelectionState::SaveSelection()` r=m_kato 2021-07-12 07:52:32 +00:00
SelectionState.h Bug 1714914 - Make editor classes treat offset in parent node as uint32_t r=m_kato 2021-06-30 07:07:28 +00:00
SplitNodeTransaction.cpp Bug 1697876 - part 1: Add logging code to transaction classes for making easier to debug r=m_kato 2021-04-05 11:35:48 +00:00
SplitNodeTransaction.h Bug 1697876 - part 1: Add logging code to transaction classes for making easier to debug r=m_kato 2021-04-05 11:35:48 +00:00
TextEditSubActionHandler.cpp Bug 1723125 - Ignore normal selection when updating composition string r=m_kato 2021-08-02 08:23:50 +00:00
TextEditor.cpp Bug 1725145 - fixes for linking in the hybrid build env. r=valentin 2021-08-22 10:21:56 +00:00
TextEditor.h Bug 1723125 - Ignore normal selection when updating composition string r=m_kato 2021-08-02 08:23:50 +00:00
TextEditorDataTransfer.cpp Bug 1723125 - Ignore normal selection when updating composition string r=m_kato 2021-08-02 08:23:50 +00:00
TypeInState.cpp Bug 1703144 - Get rid of `MOZ_KnownLive` for `EditorBase::SelectionRefPtr()` r=m_kato 2021-04-08 01:31:54 +00:00
TypeInState.h Bug 1703144 - Get rid of `MOZ_KnownLive` for `EditorBase::SelectionRefPtr()` r=m_kato 2021-04-08 01:31:54 +00:00
WSRunObject.cpp Bug 1726064 - part 2: Get rid of `HTMLEditUtils::GetInclusiveAncestorBlockElementExceptHRElement` r=m_kato 2021-08-19 06:55:13 +00:00
WSRunObject.h Bug 1714914 - Make editor classes treat offset in parent node as uint32_t r=m_kato 2021-06-30 07:07:28 +00:00
moz.build Bug 1311934 - Replace `TextServicesDocument::IsBlockNode()` with `HTMLEditUtils::IsBlockElement()` r=m_kato 2021-07-19 23:11:25 +00:00