gecko-dev/editor/libeditor
Masayuki Nakano 197de3d0a2 Bug 1858794 - Make `AutoMoveOneLineHandler` track the new line range while moving content nodes r=m_kato
It moves nodes in a range to new place one by one.  At this time, the moved
position range is not tracked.  Therefore, if the DOM tree is unexpectedly
changed by `HTMLEditor` itself, the range gets broken.  E.g., in this case,
deleting empty inline element causes the range after the source position is
broken.

Differential Revision: https://phabricator.services.mozilla.com/D192180
2023-11-01 01:32:40 +00:00
..
crashtests Bug 1843794 - Rewrite editor/AsyncSpellCheckTestHelper.sys.mjs consumers in html/xhtml to use ChromeUtils.importESModule. r=masayuki 2023-07-19 00:43:33 +00:00
tests Bug 1857303 - Fire copy event when pressing Ctrl+C on contenteditable without selection. r=sefeng,masayuki 2023-10-27 18:36:02 +00:00
AutoRangeArray.cpp Bug 1244437 - part 3: Make `formatBlock` command handlers use replace target as the nearest inclusive ancestor format node r=m_kato 2023-10-26 03:45:18 +00:00
AutoRangeArray.h Bug 1851951 - Make `HTMLEditor` refer computed `display` instead of the HTML default style at considering block or inline element r=m_kato 2023-09-27 03:01:26 +00:00
CSSEditUtils.cpp Bug 1839950 - CSSStyleDeclaration.getPropertyValue doesn't throw. r=peterv 2023-06-27 08:21:46 +00:00
CSSEditUtils.h Bug 1833543 - Get rid of `typedef`s from the editor module r=m_kato 2023-05-19 02:58:53 +00:00
ChangeAttributeTransaction.cpp Bug 1839922 - Remove usage of {Has,Get}Attr(kNameSpaceID_None, ..). r=edgar 2023-06-23 10:01:32 +00:00
ChangeAttributeTransaction.h
ChangeStyleTransaction.cpp Bug 1856795 - Remove redundant member init r=emilio 2023-10-15 15:29:02 +00:00
ChangeStyleTransaction.h Bug 1802831 - Make `AutoInlineStyleSetter` align setting `text-decoration` style behavior in the CSS mode to the other browsers r=m_kato 2022-12-02 22:50:56 +00:00
CompositionTransaction.cpp
CompositionTransaction.h
DeleteContentTransactionBase.cpp Bug 1797247 - part 1: Add delete transaction classes to use build time type checks r=m_kato 2023-02-15 22:17:17 +00:00
DeleteContentTransactionBase.h Bug 1797247 - part 1: Add delete transaction classes to use build time type checks r=m_kato 2023-02-15 22:17:17 +00:00
DeleteMultipleRangesTransaction.cpp Bug 1797247 - part 2: Make `DeleteTextTransaction::DoTransaction` and `DeleteRangeTransaction::DoTransaction` stop updating `Selection` directly r=m_kato 2023-02-15 22:23:34 +00:00
DeleteMultipleRangesTransaction.h Bug 1797247 - part 2: Make `DeleteTextTransaction::DoTransaction` and `DeleteRangeTransaction::DoTransaction` stop updating `Selection` directly r=m_kato 2023-02-15 22:23:34 +00:00
DeleteNodeTransaction.cpp Bug 1797247 - part 1: Add delete transaction classes to use build time type checks r=m_kato 2023-02-15 22:17:17 +00:00
DeleteNodeTransaction.h Bug 1797247 - part 1: Add delete transaction classes to use build time type checks r=m_kato 2023-02-15 22:17:17 +00:00
DeleteRangeTransaction.cpp Bug 1797247 - part 2: Make `DeleteTextTransaction::DoTransaction` and `DeleteRangeTransaction::DoTransaction` stop updating `Selection` directly r=m_kato 2023-02-15 22:23:34 +00:00
DeleteRangeTransaction.h Bug 1797247 - part 2: Make `DeleteTextTransaction::DoTransaction` and `DeleteRangeTransaction::DoTransaction` stop updating `Selection` directly r=m_kato 2023-02-15 22:23:34 +00:00
DeleteTextTransaction.cpp Bug 1797247 - part 2: Make `DeleteTextTransaction::DoTransaction` and `DeleteRangeTransaction::DoTransaction` stop updating `Selection` directly r=m_kato 2023-02-15 22:23:34 +00:00
DeleteTextTransaction.h Bug 1797247 - part 1: Add delete transaction classes to use build time type checks r=m_kato 2023-02-15 22:17:17 +00:00
EditAction.h Bug 1244437 - part 3: Make `formatBlock` command handlers use replace target as the nearest inclusive ancestor format node r=m_kato 2023-10-26 03:45:18 +00:00
EditAggregateTransaction.cpp Bug 1797247 - part 1: Add delete transaction classes to use build time type checks r=m_kato 2023-02-15 22:17:17 +00:00
EditAggregateTransaction.h Bug 1797247 - part 1: Add delete transaction classes to use build time type checks r=m_kato 2023-02-15 22:17:17 +00:00
EditTransactionBase.cpp Bug 1797247 - part 1: Add delete transaction classes to use build time type checks r=m_kato 2023-02-15 22:17:17 +00:00
EditTransactionBase.h Bug 1797247 - part 1: Add delete transaction classes to use build time type checks r=m_kato 2023-02-15 22:17:17 +00:00
EditorBase.cpp Bug 1857303 - Fire copy event when pressing Ctrl+C on contenteditable without selection. r=sefeng,masayuki 2023-10-27 18:36:02 +00:00
EditorBase.h Bug 1859245 - part 3: Make `JoinNodesTransaction` and `SplitNodeTransaction` handle only the new direction mode r=m_kato 2023-10-27 01:57:29 +00:00
EditorCommands.cpp Bug 1815969 - part 5: Make editors handle pasting something in new focused editor if a `paste` event listener moves focus r=m_kato 2023-05-10 06:44:53 +00:00
EditorCommands.h Bug 1244437 - part 1: Make `HTMLEditUtils::IsFormatNode` check same tags as Chromium does r=m_kato 2023-10-26 03:45:17 +00:00
EditorController.cpp
EditorController.h
EditorDOMPoint.h Bug 1839793 - Move `EditorBase::FindBetterInsertionPoint` into `TextEditor` r=m_kato 2023-06-27 04:23:09 +00:00
EditorEventListener.cpp Bug 1859355 - Exit EditorEventListener::HandleEvent early when the event can't be handled r=sefeng 2023-10-24 16:33:03 +00:00
EditorEventListener.h
EditorForwards.h Bug 1859245 - part 4: Make `HTMLEditor` handle only the new direction mode r=m_kato 2023-10-27 01:57:29 +00:00
EditorUtils.cpp Bug 1815639 - part 12: Make `AutoDeleteRangesHandler::HandleDeleteHRElement()` stop touching `Selection` r=m_kato 2023-02-21 11:19:10 +00:00
EditorUtils.h Bug 1815639 - part 12: Make `AutoDeleteRangesHandler::HandleDeleteHRElement()` stop touching `Selection` r=m_kato 2023-02-21 11:19:10 +00:00
HTMLAbsPositionEditor.cpp Bug 1817641 - Convert RGBA to AbsoluteColor for computed/animated/resolved CSS colors r=emilio 2023-03-07 11:28:15 +00:00
HTMLAnonymousNodeEditor.cpp Bug 1839950 - CSSStyleDeclaration.getPropertyValue doesn't throw. r=peterv 2023-06-27 08:21:46 +00:00
HTMLEditHelpers.cpp Bug 1856795 - Remove redundant member init r=emilio 2023-10-15 15:29:02 +00:00
HTMLEditHelpers.h Bug 1859245 - part 1: Make `JoinNodesResult` and `SplitNodeResult` handle only the new direction mode r=m_kato 2023-10-27 01:57:28 +00:00
HTMLEditSubActionHandler.cpp Bug 1859245 - part 4: Make `HTMLEditor` handle only the new direction mode r=m_kato 2023-10-27 01:57:29 +00:00
HTMLEditUtils.cpp Bug 1244437 - part 1: Make `HTMLEditUtils::IsFormatNode` check same tags as Chromium does r=m_kato 2023-10-26 03:45:17 +00:00
HTMLEditUtils.h Bug 1244437 - part 1: Make `HTMLEditUtils::IsFormatNode` check same tags as Chromium does r=m_kato 2023-10-26 03:45:17 +00:00
HTMLEditor.cpp Bug 1859245 - part 4: Make `HTMLEditor` handle only the new direction mode r=m_kato 2023-10-27 01:57:29 +00:00
HTMLEditor.h Bug 1859245 - part 4: Make `HTMLEditor` handle only the new direction mode r=m_kato 2023-10-27 01:57:29 +00:00
HTMLEditorCommands.cpp Bug 1244437 - part 1: Make `HTMLEditUtils::IsFormatNode` check same tags as Chromium does r=m_kato 2023-10-26 03:45:17 +00:00
HTMLEditorController.cpp Bug 1244437 - part 1: Make `HTMLEditUtils::IsFormatNode` check same tags as Chromium does r=m_kato 2023-10-26 03:45:17 +00:00
HTMLEditorController.h
HTMLEditorDataTransfer.cpp Bug 1851951 - Make `HTMLEditor` refer computed `display` instead of the HTML default style at considering block or inline element r=m_kato 2023-09-27 03:01:26 +00:00
HTMLEditorDeleteHandler.cpp Bug 1858794 - Make `AutoMoveOneLineHandler` track the new line range while moving content nodes r=m_kato 2023-11-01 01:32:40 +00:00
HTMLEditorDocumentCommands.cpp Bug 1859245 - part 4: Make `HTMLEditor` handle only the new direction mode r=m_kato 2023-10-27 01:57:29 +00:00
HTMLEditorEventListener.cpp Bug 1845241 - Make `nsIFrame::HandleEvent` move caret when secondary mouse button down r=edgar,emilio,dom-core 2023-10-10 03:20:21 +00:00
HTMLEditorEventListener.h Bug 1856795 - Remove redundant member init r=emilio 2023-10-15 15:29:02 +00:00
HTMLEditorInlines.h Bug 1859245 - part 4: Make `HTMLEditor` handle only the new direction mode r=m_kato 2023-10-27 01:57:29 +00:00
HTMLEditorNestedClasses.h Bug 1809129 - part 5: Make `AutoListElementCreator` copy attributes at replacing block elements r=m_kato 2023-02-14 02:51:32 +00:00
HTMLEditorObjectResizer.cpp Bug 1839922 - Remove usage of {Has,Get}Attr(kNameSpaceID_None, ..). r=edgar 2023-06-23 10:01:32 +00:00
HTMLEditorState.cpp Bug 1244437 - part 4: Make `HTMLEditor::IsFormatElement` return `false` for `<dl>`, `<dt>` and `<dd>` if it's called for XUL paragraph state command r=m_kato 2023-10-26 03:45:18 +00:00
HTMLInlineTableEditor.cpp Bug 1839922 - Remove usage of {Has,Get}Attr(kNameSpaceID_None, ..). r=edgar 2023-06-23 10:01:32 +00:00
HTMLStyleEditor.cpp Bug 1859245 - part 1: Make `JoinNodesResult` and `SplitNodeResult` handle only the new direction mode r=m_kato 2023-10-27 01:57:28 +00:00
HTMLTableEditor.cpp
InsertNodeTransaction.cpp
InsertNodeTransaction.h
InsertTextTransaction.cpp Bug 1768317 - Make `InsertTextTransaction::GetData()` returns reference of its `mStringToInsert` r=m_kato 2023-06-12 00:08:02 +00:00
InsertTextTransaction.h Bug 1768317 - Make `InsertTextTransaction::GetData()` returns reference of its `mStringToInsert` r=m_kato 2023-06-12 00:08:02 +00:00
InternetCiter.cpp
InternetCiter.h
JoinNodesTransaction.cpp Bug 1859245 - part 3: Make `JoinNodesTransaction` and `SplitNodeTransaction` handle only the new direction mode r=m_kato 2023-10-27 01:57:29 +00:00
JoinNodesTransaction.h Bug 1859245 - part 3: Make `JoinNodesTransaction` and `SplitNodeTransaction` handle only the new direction mode r=m_kato 2023-10-27 01:57:29 +00:00
ManualNAC.h Bug 1833543 - Get rid of `typedef`s from the editor module r=m_kato 2023-05-19 02:58:53 +00:00
MoveNodeTransaction.cpp
MoveNodeTransaction.h
PendingStyles.cpp Bug 1814337 - Fix bugs at applying multiple styles to collapsed `Selection` r=m_kato 2023-02-07 14:52:02 +00:00
PendingStyles.h Bug 1814337 - Fix bugs at applying multiple styles to collapsed `Selection` r=m_kato 2023-02-07 14:52:02 +00:00
PlaceholderTransaction.cpp Bug 1797247 - part 1: Add delete transaction classes to use build time type checks r=m_kato 2023-02-15 22:17:17 +00:00
PlaceholderTransaction.h Bug 1797247 - part 1: Add delete transaction classes to use build time type checks r=m_kato 2023-02-15 22:17:17 +00:00
ReplaceTextTransaction.cpp Bug 1815383 - part 3: Make `ReplaceTextTransaction::DoTransaction` stop updating `Selection` directly r=m_kato 2023-02-17 09:42:31 +00:00
ReplaceTextTransaction.h Bug 1815383 - part 3: Make `ReplaceTextTransaction::DoTransaction` stop updating `Selection` directly r=m_kato 2023-02-17 09:42:31 +00:00
SelectionState.cpp Bug 1859245 - part 4: Make `HTMLEditor` handle only the new direction mode r=m_kato 2023-10-27 01:57:29 +00:00
SelectionState.h Bug 1859245 - part 2: Make `HTMLEditor::DoJoinNodes` and `HTMLEditor::DoSplitNode` handle only the new direction mode r=m_kato 2023-10-27 01:57:29 +00:00
SplitNodeTransaction.cpp Bug 1859245 - part 3: Make `JoinNodesTransaction` and `SplitNodeTransaction` handle only the new direction mode r=m_kato 2023-10-27 01:57:29 +00:00
SplitNodeTransaction.h Bug 1859245 - part 3: Make `JoinNodesTransaction` and `SplitNodeTransaction` handle only the new direction mode r=m_kato 2023-10-27 01:57:29 +00:00
TextEditSubActionHandler.cpp Bug 1858590 - Make `TextEditor::HandleInsertText` stop handling the command for empty string after deleting selection r=m_kato 2023-10-19 03:16:08 +00:00
TextEditor.cpp Bug 1855134 - Move existing MOZ_TRY macros to a dedicated header file; r=glandium 2023-09-28 20:46:07 +00:00
TextEditor.h Bug 1839814 - Move `nsIEditor.wrapWidth` to `nsIEditorMailSupport` r=m_kato 2023-06-27 05:47:55 +00:00
TextEditorDataTransfer.cpp Bug 1815969 - part 4: Redesign `PasteTransferableAsAction` as same as the methods touched by the previous patch r=m_kato 2023-05-10 06:44:53 +00:00
WSRunObject.cpp Bug 1851951 - Make `HTMLEditor` refer computed `display` instead of the HTML default style at considering block or inline element r=m_kato 2023-09-27 03:01:26 +00:00
WSRunObject.h Bug 1728433 - Make `WSScanResult::AssertIfInvalidData` check the ancestor block element if the reason is `CurrentBlockBoundary` r=m_kato 2023-10-13 02:57:08 +00:00
moz.build Bug 1855300 - convert .ini manifests to .toml: batch 11 remaining **/mochitest.ini r=jmaher,geckoview-reviewers,extension-reviewers,valentin,credential-management-reviewers,cookie-reviewers,sgalich,m_kato,robwu 2023-10-13 02:32:24 +00:00