return NS_OK; }
nsGenericHTMLContainerElement::AppendChildTo(nsIContent* aKid, PRBool aNotify){  NS_PRECONDITION((nsnull != aKid) && (aKid != mContent), "null ptr");  PRBool rv = mChildren.AppendElement(aKid);  if (rv) {    NS_ADDREF(aKid);    aKid->SetParent(mContent);    // ranges don't need adjustment since new child is at end of list    nsIDocument* doc = mDocument;    if (nsnull != doc) {      aKid->SetDocument(doc, PR_FALSE);      if (aNotify) {        doc->ContentAppended(mContent, mChildren.Count() - 1);      }    }  }  return NS_OK;}