Closed
Bug 154908
Opened 22 years ago
Closed 13 years ago
Moving content nodes between documents does not preserve uniquenes of content IDs
Categories
(Core :: DOM: Core & HTML, defect)
Core
DOM: Core & HTML
Tracking
()
RESOLVED
WORKSFORME
People
(Reporter: sfraser_bugs, Unassigned)
Details
If you write code that creates content nodes on document A: docA->CreateElementNS(..., &newElement); then appends them to document B: nodeInDocB->AppendChild(newElement, ..); then it's possible to get content node ID conflicts. It would seem that copying or moving nodes between documents should ensure that content IDs (gotten via GetContentID() remain unique for each document. If a node is in 2 documents at the same time, then, I guess, it would have to have an ID per document.
Comment 1•22 years ago
|
||
Content ID's are evil. If at all possible we should work on removing them in stead of making them...
Updated•22 years ago
|
QA Contact: desale → stummala
Component: DOM: Core → DOM: Core & HTML
QA Contact: stummala → general
Comment 3•13 years ago
|
||
Looks like they were removed at some point.
Assignee: general → nobody
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → WORKSFORME
You need to log in
before you can comment on or make changes to this bug.
Description
•