forked from Floorp-Projects/Floorp
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bug 1484121 - part 1: Create HTMLEditor::DeleteSelectedTableColumnsWi…
…thTransaction() for internal use of nsITableEditor::DeleteTableColumn() r=m_kato nsITableEditor::DeleteTableColumn() is an XPCOM method but used internally. So, it should be implemented with non-virtual method and internal users should use it. Note that this changes only one thing. This moves |AutoTopLevelEditSubActionNotifier maybeTopLevelEditSubAction(...| from below DeleteTableElementAndChildrenWithTransaction() to above it. I.e., DeleteTableElementAndChildrenWithTransaction() works under EditSubAction::eDeleteNode as the top level sub-action now. This is same as DeleteSelectedTableRowsWithTransaction(). Therefore, the difference with it when it removes <table> is now fixed. Differential Revision: https://phabricator.services.mozilla.com/D5933
- Loading branch information
1 parent
edbee41
commit 8c3f8a1
Showing
5 changed files
with
118 additions
and
69 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters