summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibWeb/HTML/HTMLDialogElement.cpp
blob: d6960cbe0b6191fafb499e5a96fe098acbfc0837 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
/*
 * Copyright (c) 2020, the SerenityOS developers.
 *
 * SPDX-License-Identifier: BSD-2-Clause
 */

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

namespace Web::HTML {

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

HTMLDialogElement::~HTMLDialogElement() = default;
}