Open
Bug 1624587
(editor-transaction-footprint)
Opened 5 years ago
Updated 2 years ago
[meta] Create new transaction classes which treat multiple nodes
Categories
(Core :: DOM: Editor, enhancement, P3)
Core
DOM: Editor
Tracking
()
NEW
People
(Reporter: masayuki, Unassigned)
References
(Blocks 3 open bugs)
Details
(Keywords: meta)
Currently, editor module creates a transaction per node for insertion and deletion. However, this means that we waste both creating performance and footprint. For example, if you move all children of a node which have 100 children to another node, 100 DeleteNodeTransaction
and InsertNodeTransaction
instances are required.
https://searchfox.org/mozilla-central/rev/202a285024f174c2d2bf2152d9cba90a03723eab/editor/libeditor/EditorBase.cpp#2035,2053,2073
https://searchfox.org/mozilla-central/rev/202a285024f174c2d2bf2152d9cba90a03723eab/editor/libeditor/HTMLEditSubActionHandler.cpp#6215-6216,6239
Reporter | ||
Updated•3 years ago
|
Blocks: memshrink-content
Reporter | ||
Updated•3 years ago
|
Depends on: create-move-node-transaction
Updated•3 years ago
|
Summary: Create new transaction classes which treat multiple nodes → [meta] Create new transaction classes which treat multiple nodes
Updated•2 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•