summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibWeb/SVG/SVGDefsElement.h
blob: ddb2eeb437df2453a2e3fa0df94429ea9de502e5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
/*
 * Copyright (c) 2022, Simon Danner <danner.simon@gmail.com>
 *
 * SPDX-License-Identifier: BSD-2-Clause
 */

#pragma once

#include <LibWeb/SVG/SVGGraphicsElement.h>

namespace Web::SVG {

class SVGDefsElement final : public SVGGraphicsElement {
    WEB_PLATFORM_OBJECT(SVGDefsElement, SVGGraphicsElement);

public:
    virtual ~SVGDefsElement();

    virtual JS::GCPtr<Layout::Node> create_layout_node(NonnullRefPtr<CSS::StyleProperties>) override;

private:
    SVGDefsElement(DOM::Document&, DOM::QualifiedName);
};

}