summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibWeb/HTML/HTMLHeadingElement.cpp
blob: 165fd4832a0eecd4f5f1029001ef87326b81ab45 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
/*
 * Copyright (c) 2018-2020, Andreas Kling <kling@serenityos.org>
 *
 * SPDX-License-Identifier: BSD-2-Clause
 */

#include <LibWeb/HTML/HTMLHeadingElement.h>
#include <LibWeb/HTML/Window.h>

namespace Web::HTML {

HTMLHeadingElement::HTMLHeadingElement(DOM::Document& document, DOM::QualifiedName qualified_name)
    : HTMLElement(document, move(qualified_name))
{
    set_prototype(&window().cached_web_prototype("HTMLHeadingElement"));
}

HTMLHeadingElement::~HTMLHeadingElement() = default;
}