Skip to content

Truly independent web browser

657 B
Raw Blame
/*
 * Copyright (c) 2018-2020, Andreas Kling <[email protected]>
 *
 * SPDX-License-Identifier: BSD-2-Clause
 */

#pragma once

#include <LibWeb/HTML/HTMLElement.h>

namespace Web::HTML {

class HTMLHeadElement final : public HTMLElement {
    WEB_WRAPPABLE(HTMLHeadElement, HTMLElement);
    GC_DECLARE_ALLOCATOR(HTMLHeadElement);

public:
    virtual ~HTMLHeadElement() override;

private:
    HTMLHeadElement(DOM::Document&, DOM::QualifiedName);

    virtual bool is_html_head_element() const final { return true; }
};

}

namespace Web::DOM {

template<>
inline bool Node::fast_is<HTML::HTMLHeadElement>() const { return is_html_head_element(); }

}