mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-10-07 16:49:39 +00:00
Many wpt test on trusted-types relay on this class being defined to even begin the test as it declares some event handlers. This is not really an implementation but the most basic setup needed to run the tests.
28 lines
646 B
C++
28 lines
646 B
C++
/*
|
|
* Copyright (c) 2025, Miguel Sacristán Izcue <miguel_tete17@hotmail.com>
|
|
*
|
|
* SPDX-License-Identifier: BSD-2-Clause
|
|
*/
|
|
|
|
#include <LibWeb/SVG/SVGAnimationElement.h>
|
|
|
|
#include <LibWeb/Bindings/Intrinsics.h>
|
|
#include <LibWeb/Bindings/SVGAnimationElementPrototype.h>
|
|
#include <LibWeb/Layout/Node.h>
|
|
|
|
namespace Web::SVG {
|
|
|
|
GC_DEFINE_ALLOCATOR(SVGAnimationElement);
|
|
|
|
SVGAnimationElement::SVGAnimationElement(DOM::Document& document, DOM::QualifiedName name)
|
|
: SVGElement(document, name)
|
|
{
|
|
}
|
|
|
|
void SVGAnimationElement::initialize(JS::Realm& realm)
|
|
{
|
|
WEB_SET_PROTOTYPE_FOR_INTERFACE(SVGAnimationElement);
|
|
Base::initialize(realm);
|
|
}
|
|
|
|
}
|