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

#include <LibWeb/Bindings/Intrinsics.h>
#include <LibWeb/HTML/HTMLPictureElement.h>

namespace Web::HTML {

HTMLPictureElement::HTMLPictureElement(DOM::Document& document, DOM::QualifiedName qualified_name)
    : HTMLElement(document, move(qualified_name))
{
    set_prototype(&Bindings::cached_web_prototype(realm(), "HTMLPictureElement"));
}

HTMLPictureElement::~HTMLPictureElement() = default;

}