#pragma once
#include "HTMLElement.h"
namespace WebCore {
class HTMLBodyElement final : public HTMLElement {
public:
static Ref<HTMLBodyElement> create(Document&);
static Ref<HTMLBodyElement> create(const QualifiedName&, Document&);
virtual ~HTMLBodyElement();
static const AtomicString& eventNameForWindowEventHandlerAttribute(const QualifiedName& attributeName);
private:
HTMLBodyElement(const QualifiedName&, Document&);
bool isFirstBodyElementOfDocument() const;
void parseAttribute(const QualifiedName&, const AtomicString&) final;
bool isPresentationAttribute(const QualifiedName&) const final;
void collectStyleForPresentationAttribute(const QualifiedName&, const AtomicString&, MutableStyleProperties&) final;
InsertionNotificationRequest insertedInto(ContainerNode&) final;
bool isURLAttribute(const Attribute&) const final;
bool supportsFocus() const final;
int scrollLeft() final;
void setScrollLeft(int) final;
int scrollTop() final;
void setScrollTop(int) final;
void scrollTo(const ScrollToOptions&) final;
int scrollHeight() final;
int scrollWidth() final;
void addSubresourceAttributeURLs(ListHashSet<URL>&) const final;
static EventHandlerNameMap createWindowEventHandlerNameMap();
};
}