mDocument->ContentAppended(mBody);
HTMLContentSink::DidBuildModel(PRInt32 aQualityLevel){  if (nsnull == mTitle) {    ((nsHTMLDocument*)mDocument)->SetTitle("");  }  // XXX this is silly; who cares?  PRInt32 i, ns = mDocument->GetNumberOfShells();  for (i = 0; i < ns; i++) {    nsIPresShell* shell = mDocument->GetShellAt(i);    if (nsnull != shell) {      nsIViewManager* vm = shell->GetViewManager();      if(vm) {        vm->SetQuality(nsContentQuality(aQualityLevel));      }      NS_RELEASE(vm);      NS_RELEASE(shell);    }  }  SINK_TRACE(SINK_TRACE_REFLOW,             ("HTMLContentSink::DidBuildModel: layout new content"));  ReflowNewContent();  // XXX sigh  ScrollToRef();  mDocument->EndLoad();  return NS_OK;}