mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-10-27 11:24:16 +00:00
23 lines
531 B
C++
23 lines
531 B
C++
|
|
/*
|
||
|
|
* Copyright (c) 2023, Shannon Booth <shannon@serenityos.org>
|
||
|
|
*
|
||
|
|
* SPDX-License-Identifier: BSD-2-Clause
|
||
|
|
*/
|
||
|
|
|
||
|
|
#include <LibWeb/SVG/SVGScriptElement.h>
|
||
|
|
|
||
|
|
namespace Web::SVG {
|
||
|
|
|
||
|
|
SVGScriptElement::SVGScriptElement(DOM::Document& document, DOM::QualifiedName qualified_name)
|
||
|
|
: SVGElement(document, move(qualified_name))
|
||
|
|
{
|
||
|
|
}
|
||
|
|
|
||
|
|
void SVGScriptElement::initialize(JS::Realm& realm)
|
||
|
|
{
|
||
|
|
Base::initialize(realm);
|
||
|
|
set_prototype(&Bindings::ensure_web_prototype<Bindings::SVGScriptElementPrototype>(realm, "SVGScriptElement"));
|
||
|
|
}
|
||
|
|
|
||
|
|
}
|