PR_LOG(gShellLogModuleInfo, PR_LOG_DEBUG,
NS_FRAME_LOG(NS_FRAME_TRACE_CALLS,
PresShell::ContentAppended(nsIContent* aContainer){  NS_PRECONDITION(nsnull != mRootFrame, "null root frame");  EnterReflowLock();  nsIContent* parentContainer = aContainer;  while (nsnull != parentContainer) {    nsIFrame* frame = FindFrameWithContent(parentContainer);    if (nsnull != frame) {      PR_LOG(gShellLogModuleInfo, PR_LOG_DEBUG,             ("PresShell::ContentAppended: container=%p[%s] frame=%p",              aContainer, ContentTag(aContainer, 0), frame));      frame->ContentAppended(this, mPresContext, aContainer);      break;    }    parentContainer = parentContainer->GetParent();  }  ExitReflowLock();  return NS_OK;}