mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-12-07 21:59:54 +00:00
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.
This commit is contained in:
parent
c4b13589e9
commit
223b1cc704
Notes:
github-actions[bot]
2025-07-30 14:53:20 +00:00
Author: https://github.com/tete17
Commit: 223b1cc704
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/5430
Reviewed-by: https://github.com/ADKaster
Reviewed-by: https://github.com/AtkinsSJ
Reviewed-by: https://github.com/tcl3 ✅
9 changed files with 90 additions and 8 deletions
23
Libraries/LibWeb/SVG/SVGAnimationElement.idl
Normal file
23
Libraries/LibWeb/SVG/SVGAnimationElement.idl
Normal file
|
|
@ -0,0 +1,23 @@
|
|||
#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;
|
||||
Loading…
Add table
Add a link
Reference in a new issue