Closed
Bug 1484120
Opened 6 years ago
Closed 6 years ago
Split HTMLEditor::DeleteTableCellContents() for internal use
Categories
(Core :: DOM: Editor, enhancement, P3)
Core
DOM: Editor
Tracking
()
RESOLVED
FIXED
mozilla64
People
(Reporter: masayuki, Assigned: masayuki)
References
(Blocks 1 open bug)
Details
Attachments
(2 files)
No description provided.
Updated•6 years ago
|
Priority: -- → P3
Assignee | ||
Comment 1•6 years ago
|
||
Assignee | ||
Comment 2•6 years ago
|
||
Assignee | ||
Comment 3•6 years ago
|
||
nsITableEditor::DeleteTableCellContents() is an XPCOM method but it's used
internally. So, HTMLEditor should implement it with a non-virtual method
and all internal users should use the non-virtual method instead.
This patch adds HTMLEditor::DeleteTableCellContentsWithTransaction() for that.
Additionally, this patch renames its helper method DeleteCellContents() to
DeleteAllChidlrenWithTransaction() and moves it to HTMLEditor.cpp since it can
handle any element nodes.
Comment 4•6 years ago
|
||
Comment on attachment 9009997 [details]
Bug 1484120 - part 0: Add automated tests for nsITableEditor.deleteTableCellContents.html
Makoto Kato [:m_kato] has approved the revision.
Attachment #9009997 -
Flags: review+
Comment 5•6 years ago
|
||
Comment on attachment 9010002 [details]
Bug 1484120 - part 1: Create HTMLEditor::DeleteTableCellContentsWithTransaction() for internal use of nsITableEditor::DeleteTableCellContents()
Makoto Kato [:m_kato] has approved the revision.
Attachment #9010002 -
Flags: review+
Pushed by masayuki@d-toybox.com:
https://hg.mozilla.org/integration/autoland/rev/1e13d82e0536
part 0: Add automated tests for nsITableEditor.deleteTableCellContents.html r=m_kato
https://hg.mozilla.org/integration/autoland/rev/ca674e42cbca
part 1: Create HTMLEditor::DeleteTableCellContentsWithTransaction() for internal use of nsITableEditor::DeleteTableCellContents() r=m_kato
Comment 7•6 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/1e13d82e0536
https://hg.mozilla.org/mozilla-central/rev/ca674e42cbca
Status: ASSIGNED → RESOLVED
Closed: 6 years ago
status-firefox64:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla64
Updated•6 years ago
|
Flags: in-testsuite+
Assignee | ||
Updated•6 years ago
|
Blocks: add-scriptable-editor-API-tests
You need to log in
before you can comment on or make changes to this bug.
Description
•