String HTMLDocument::fgColor() { HTMLElement* b = body(); HTMLBodyElement* bodyElement = (b && b->hasTagName(bodyTag)) ? static_cast<HTMLBodyElement*>(b) : 0; if (!bodyElement) return String(); return bodyElement->text(); }