if (nsnull != mChild) { StyleContextImpl* child = mChild; do { child->List(out, aIndent + 1); child = child->mNext; } while (mChild != child); }
void StyleContextImpl::List(FILE* out, PRInt32 aIndent){  // Indent  PRInt32 index;  for (index = aIndent; --index >= 0; ) fputs("  ", out);  PRInt32 count = mRules->Count();  if (0 < count) {    fputs("{\n", out);    for (index = 0; index < count; index++) {      nsIStyleRule* rule = (nsIStyleRule*)mRules->ElementAt(index);      rule->List(out, aIndent + 1);      NS_RELEASE(rule);    }    for (index = aIndent; --index >= 0; ) fputs("  ", out);    fputs("}\n", out);  }  else {    fputs("{}\n", out);  }}