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.
26 lines
615 B
C++
26 lines
615 B
C++
/*
|
|
* Copyright (c) 2025, Miguel Sacristán Izcue <miguel_tete17@hotmail.com>
|
|
*
|
|
* SPDX-License-Identifier: BSD-2-Clause
|
|
*/
|
|
|
|
#pragma once
|
|
|
|
#include <LibJS/Forward.h>
|
|
#include <LibWeb/Bindings/PlatformObject.h>
|
|
#include <LibWeb/Bindings/SVGAnimationElementPrototype.h>
|
|
#include <LibWeb/SVG/SVGElement.h>
|
|
|
|
namespace Web::SVG {
|
|
|
|
class SVGAnimationElement final : public SVGElement {
|
|
WEB_PLATFORM_OBJECT(SVGAnimationElement, SVGElement);
|
|
GC_DECLARE_ALLOCATOR(SVGAnimationElement);
|
|
|
|
private:
|
|
SVGAnimationElement(DOM::Document&, DOM::QualifiedName);
|
|
|
|
virtual void initialize(JS::Realm&) override;
|
|
};
|
|
|
|
}
|