if (nsnull != mTextRuns) { IndentBy(out, aIndent); fputs("text-runs <\n", out);  ListTextRuns(out, aIndent + 1, mTextRuns);  IndentBy(out, aIndent); fputs(">\n", out);
if (PR_TRUE==outputMe) {  if (nsnull != mTextRuns) { fputs(" text-runs=<\n", out); ListTextRuns(out, aIndent + 1, mTextRuns); for (i = aIndent; --i >= 0; ) fputs("  ", out); fputs(">", out); } fputs("\n", out);
nsBlockFrame::List(FILE* out, PRInt32 aIndent) const{  IndentBy(out, aIndent);  ListTag(out);  nsIView* view;  GetView(&view);  if (nsnull != view) {    fprintf(out, " [view=%p]", view);  }  if (nsnull != mNextSibling) {    fprintf(out, " next=%p", mNextSibling);  }  // Output the flow linkage  if (nsnull != mPrevInFlow) {    fprintf(out, " prev-in-flow=%p", mPrevInFlow);  }  if (nsnull != mNextInFlow) {    fprintf(out, " next-in-flow=%p", mNextInFlow);  }  // Output the rect and state  fprintf(out, " {%d,%d,%d,%d}", mRect.x, mRect.y, mRect.width, mRect.height);  if (0 != mState) {    fprintf(out, " [state=%08x]", mState);  }  if (0 != mFlags) {    fprintf(out, " [flags=%x]", mFlags);  }  PRInt32 numInlineLines = 0;  PRInt32 numBlockLines = 0;  if (nsnull != mLines) {    nsLineBox* line = mLines;    while (nsnull != line) {      if (line->IsBlock()) {        numBlockLines++;      }      else {        numInlineLines++;      }      line = line->mNext;    }  }  fprintf(out, " sc=%p(i=%d,b=%d)<\n", mStyleContext, numInlineLines, numBlockLines);  aIndent++;  // Output the lines  if (nsnull != mLines) {    nsLineBox* line = mLines;    while (nsnull != line) {      line->List(out, aIndent);      line = line->mNext;    }  }  nsIAtom* listName = nsnull;  PRInt32 listIndex = 0;  for (;;) {    nsIFrame* kid;    GetAdditionalChildListName(listIndex++, &listName);    if (nsnull == listName) {      break;    }    FirstChild(listName, &kid);    if (nsnull != kid) {      IndentBy(out, aIndent);      nsAutoString tmp;      if (nsnull != listName) {        listName->ToString(tmp);        fputs(tmp, out);      }      fputs("<\n", out);      while (nsnull != kid) {        kid->List(out, aIndent + 1);        kid->GetNextSibling(&kid);      }      IndentBy(out, aIndent);      fputs(">\n", out);    }    NS_IF_RELEASE(listName);  }  // Output the text-runs  if (nsnull != mTextRuns) {    IndentBy(out, aIndent);    fputs("text-runs <\n", out);    ListTextRuns(out, aIndent + 1, mTextRuns);    IndentBy(out, aIndent);    fputs(">\n", out);  }  aIndent--;  IndentBy(out, aIndent);  fputs(">\n", out);  return NS_OK;}