2022-04-11 16:59:03 +02:00
|
|
|
/*
|
|
|
|
* Copyright (c) 2022, Simon Danner <danner.simon@gmail.com>
|
|
|
|
*
|
|
|
|
* SPDX-License-Identifier: BSD-2-Clause
|
|
|
|
*/
|
|
|
|
|
2022-09-30 17:16:16 -06:00
|
|
|
#include <LibWeb/Bindings/Intrinsics.h>
|
2024-04-27 12:09:58 +12:00
|
|
|
#include <LibWeb/Bindings/SVGDefsElementPrototype.h>
|
2023-09-17 15:32:24 +01:00
|
|
|
#include <LibWeb/Layout/SVGBox.h>
|
2022-04-11 16:59:03 +02:00
|
|
|
#include <LibWeb/SVG/SVGDefsElement.h>
|
|
|
|
|
|
|
|
namespace Web::SVG {
|
|
|
|
|
2024-11-15 04:01:23 +13:00
|
|
|
GC_DEFINE_ALLOCATOR(SVGDefsElement);
|
2023-11-19 19:47:52 +01:00
|
|
|
|
2022-04-11 16:59:03 +02:00
|
|
|
SVGDefsElement::SVGDefsElement(DOM::Document& document, DOM::QualifiedName qualified_name)
|
|
|
|
: SVGGraphicsElement(document, move(qualified_name))
|
|
|
|
{
|
|
|
|
}
|
|
|
|
|
|
|
|
SVGDefsElement::~SVGDefsElement()
|
|
|
|
{
|
|
|
|
}
|
|
|
|
|
2023-08-07 08:41:28 +02:00
|
|
|
void SVGDefsElement::initialize(JS::Realm& realm)
|
2023-01-10 06:28:20 -05:00
|
|
|
{
|
2023-08-07 08:41:28 +02:00
|
|
|
Base::initialize(realm);
|
2024-03-16 13:13:08 +01:00
|
|
|
WEB_SET_PROTOTYPE_FOR_INTERFACE(SVGDefsElement);
|
2023-01-10 06:28:20 -05:00
|
|
|
}
|
|
|
|
|
2022-04-11 16:59:03 +02:00
|
|
|
}
|