/src/serenity/Userland/Libraries/LibWeb/SVG/SVGDefsElement.cpp
Line | Count | Source |
1 | | /* |
2 | | * Copyright (c) 2022, Simon Danner <danner.simon@gmail.com> |
3 | | * |
4 | | * SPDX-License-Identifier: BSD-2-Clause |
5 | | */ |
6 | | |
7 | | #include <LibWeb/Bindings/Intrinsics.h> |
8 | | #include <LibWeb/Bindings/SVGDefsElementPrototype.h> |
9 | | #include <LibWeb/Layout/SVGBox.h> |
10 | | #include <LibWeb/SVG/SVGDefsElement.h> |
11 | | |
12 | | namespace Web::SVG { |
13 | | |
14 | | JS_DEFINE_ALLOCATOR(SVGDefsElement); |
15 | | |
16 | | SVGDefsElement::SVGDefsElement(DOM::Document& document, DOM::QualifiedName qualified_name) |
17 | 0 | : SVGGraphicsElement(document, move(qualified_name)) |
18 | 0 | { |
19 | 0 | } |
20 | | |
21 | | SVGDefsElement::~SVGDefsElement() |
22 | 0 | { |
23 | 0 | } |
24 | | |
25 | | void SVGDefsElement::initialize(JS::Realm& realm) |
26 | 0 | { |
27 | 0 | Base::initialize(realm); |
28 | 0 | WEB_SET_PROTOTYPE_FOR_INTERFACE(SVGDefsElement); |
29 | 0 | } |
30 | | |
31 | | } |