NS_IMPL_HTMLBODY_COLOR_ATTR(text, Text, Color)
nsHTMLBodyElement::GetText(nsAString& aTextColor) { nsresult rv = GetAttr(kNameSpaceID_None, nsHTMLAtoms::text, aTextColor);    if (rv == NS_CONTENT_ATTR_NOT_THERE) { nsCOMPtr<nsIPresContext> context; GetPresContext(this, getter_AddRefs(context));  if (context) { nscolor textColor; context->GetDefaultColor(&textColor);  nsHTMLValue value(textColor); value.ToString(aTextColor); } }  return NS_OK; }
NS_IMPL_HTMLBODY_COLOR_ATTR(text, Text, Color)