ladybird/Libraries/LibWeb/SVG/SVGAnimationElement.idl
Tete17 223b1cc704 LibWeb: Add barebones SVGAnimationElement class
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.
2025-07-30 15:51:35 +01:00

23 lines
683 B
Text

#import <SVG/SVGElement.idl>
// https://svgwg.org/specs/animations/#InterfaceSVGAnimationElement
[Exposed=Window]
interface SVGAnimationElement : SVGElement {
[FIXME] readonly attribute SVGElement? targetElement;
[FIXME] attribute EventHandler onbegin;
[FIXME] attribute EventHandler onend;
[FIXME] attribute EventHandler onrepeat;
[FIXME] float getStartTime();
[FIXME] float getCurrentTime();
[FIXME] float getSimpleDuration();
[FIXME] undefined beginElement();
[FIXME] undefined beginElementAt(float offset);
[FIXME] undefined endElement();
[FIXME] undefined endElementAt(float offset);
};
//SVGAnimationElement includes SVGTests;