Closed Bug 339412 Opened 18 years ago Closed 18 years ago
IDOMGCParticipant implementation in ns DOMAttribute looks wrong
nsDOMAttribute::GetSCCIndex checks whether the attribute is "specified". This just means that the node was specified in the source (or if specified is false it got added through a DTD). It shouldn't matter for reachability of the ownerElement. nsDOMAttribute::AppendReachableList doesn't add the ownerDocument to the list. One can have attributes as root of a disconnected subtree.
Hrmpf, attached the wrong patch, this is the one that compiles. I'm carrying over the r/sr, it just adds an include and uses GetContentInternal instead of GetCurrentDoc.
Status: ASSIGNED → RESOLVED
Closed: 18 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.