parent->AppendChildTo(comment, PR_FALSE);
parent->AppendChildTo(comment, PR_FALSE, PR_FALSE);
nsHTMLFragmentContentSink::AddComment(const nsIParserNode& aNode){  nsIContent *comment;  nsIDOMComment *domComment;  nsresult result = NS_OK;  FlushText();    result = NS_NewCommentNode(&comment);  if (NS_OK == result) {    result = comment->QueryInterface(NS_GET_IID(nsIDOMComment),                                      (void **)&domComment);    if (NS_OK == result) {      domComment->AppendData(aNode.GetText());      NS_RELEASE(domComment);            nsIContent *parent = GetCurrentContent();            if (nsnull == parent) {        parent = mRoot;      }            parent->AppendChildTo(comment, PR_FALSE);    }    NS_RELEASE(comment);  }  return NS_OK;}