child = child->mNext;
child = ((CSSStyleSheetImpl*)child)->mNext;
void CSSStyleSheetImpl::List(FILE* out, PRInt32 aIndent) const{  nsAutoString buffer;  PRInt32 index;  // Indent  for (index = aIndent; --index >= 0; ) fputs("  ", out);  fputs("CSS Style Sheet: ", out);  mURL->ToString(buffer);  fputs(buffer, out);  fputs("\n", out);  CSSStyleSheetImpl*  child = mFirstChild;  while (nsnull != child) {    child->List(out, aIndent + 1);    child = child->mNext;  }  PRInt32 count = ((nsnull != mRules) ? mRules->Count() : 0);  for (index = 0; index < count; index++) {    nsICSSStyleRule* rule = (nsICSSStyleRule*)mRules->ElementAt(index);    rule->List(out, aIndent);    NS_RELEASE(rule);  }}