Open
Bug 481177
Opened 16 years ago
Updated 4 years ago
Some child nodes are lost when pasting a list (<ol> <ul> etc) into a list or list-item
Categories
(Core :: DOM: Editor, defect, P5)
Core
DOM: Editor
Tracking
()
NEW
People
(Reporter: MatsPalmgren_bugz, Unassigned)
Details
(Keywords: testcase)
Attachments
(1 file)
965 bytes,
text/html
|
Details |
Some child nodes are lost when pasting a list (<ol> <ul> etc) into a list or list-item. All children that are not list items or lists are removed:
http://hg.mozilla.org/mozilla-central/file/5c8cf652ca93/editor/libeditor/html/nsHTMLDataTransfer.cpp#l550
(on line 592)
We should probably try to insert them with InsertNodeAtPoint and if that
fails break out of the loop and fall into the generic insert to handle
the remaining children a few lines below...
PLATFORMS AND BUILDS TESTED
Bug occurs in Firefox 3.0.8pre and 3.2a1pre on Linux
Reporter | ||
Comment 1•16 years ago
|
||
Comment 2•4 years ago
|
||
Bulk-downgrade of unassigned, >=5 years untouched DOM/Storage bugs' priority and severity.
If you have reason to believe this is wrong, please write a comment and ni :jstutte.
Severity: normal → S4
Priority: -- → P5
You need to log in
before you can comment on or make changes to this bug.
Description
•