/src/serenity/Userland/Libraries/LibWeb/SVG/SVGDescElement.cpp
Line | Count | Source |
1 | | /* |
2 | | * Copyright (c) 2024, Jamie Mansfield <jmansfield@cadixdev.org> |
3 | | * |
4 | | * SPDX-License-Identifier: BSD-2-Clause |
5 | | */ |
6 | | |
7 | | #include <LibWeb/Bindings/Intrinsics.h> |
8 | | #include <LibWeb/Bindings/SVGDescElementPrototype.h> |
9 | | #include <LibWeb/DOM/Document.h> |
10 | | #include <LibWeb/Page/Page.h> |
11 | | #include <LibWeb/SVG/SVGDescElement.h> |
12 | | |
13 | | namespace Web::SVG { |
14 | | |
15 | | JS_DEFINE_ALLOCATOR(SVGDescElement); |
16 | | |
17 | | SVGDescElement::SVGDescElement(DOM::Document& document, DOM::QualifiedName qualified_name) |
18 | 0 | : SVGElement(document, move(qualified_name)) |
19 | 0 | { |
20 | 0 | } |
21 | | |
22 | | void SVGDescElement::initialize(JS::Realm& realm) |
23 | 0 | { |
24 | 0 | Base::initialize(realm); |
25 | 0 | WEB_SET_PROTOTYPE_FOR_INTERFACE(SVGDescElement); |
26 | 0 | } |
27 | | |
28 | | JS::GCPtr<Layout::Node> SVGDescElement::create_layout_node(NonnullRefPtr<CSS::StyleProperties>) |
29 | 0 | { |
30 | 0 | return nullptr; |
31 | 0 | } |
32 | | |
33 | | } |