#ifndef HTMLBodyElement_h
#define HTMLBodyElement_h
#include "HTMLElement.h"
namespace WebCore {
class HTMLBodyElement : public HTMLElement
{
public:
HTMLBodyElement(const QualifiedName&, Document*);
~HTMLBodyElement();
virtual HTMLTagStatus endTagRequirement() const { return TagStatusRequired; }
virtual int tagPriority() const { return 10; }
virtual bool mapToEntry(const QualifiedName&, MappedAttributeEntry&) const;
virtual void parseMappedAttribute(MappedAttribute*);
virtual void insertedIntoDocument();
void createLinkDecl();
virtual bool isURLAttribute(Attribute*) const;
String aLink() const;
void setALink(const String&);
String background() const;
void setBackground(const String&);
String bgColor() const;
void setBgColor(const String&);
String link() const;
void setLink(const String&);
String text() const;
void setText(const String&);
String vLink() const;
void setVLink(const String&);
int scrollLeft() const;
void setScrollLeft(int scrollLeft);
int scrollTop() const;
void setScrollTop(int scrollTop);
int scrollHeight() const;
int scrollWidth() const;
virtual void addSubresourceAttributeURLs(ListHashSet<KURL>&) const;
protected:
RefPtr<CSSMutableStyleDeclaration> m_linkDecl;
};
}
#endif