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>
|
2022-04-11 16:59:03 +02:00
|
|
|
#include <LibWeb/SVG/SVGDefsElement.h>
|
|
|
|
|
|
|
|
namespace Web::SVG {
|
|
|
|
|
|
|
|
SVGDefsElement::SVGDefsElement(DOM::Document& document, DOM::QualifiedName qualified_name)
|
|
|
|
: SVGGraphicsElement(document, move(qualified_name))
|
|
|
|
{
|
2022-09-25 18:04:39 -06:00
|
|
|
set_prototype(&Bindings::cached_web_prototype(realm(), "SVGDefsElement"));
|
2022-04-11 16:59:03 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
SVGDefsElement::~SVGDefsElement()
|
|
|
|
{
|
|
|
|
}
|
|
|
|
|
2022-10-17 14:41:50 +02:00
|
|
|
JS::GCPtr<Layout::Node> SVGDefsElement::create_layout_node(NonnullRefPtr<CSS::StyleProperties>)
|
2022-04-11 16:59:03 +02:00
|
|
|
{
|
|
|
|
return nullptr;
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|