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