ladybird/Userland/Libraries/LibWeb/SVG/SVGImageElement.idl
Tim Ledbetter 03bbc2b111 LibWeb/SVG: Implement SVGImageElement
This element allows images to be embedded within SVGs.
2024-08-29 06:28:44 +02:00

15 lines
681 B
Text

#import <SVG/SVGGraphicsElement.idl>
#import <SVG/SVGURIReference.idl>
// https://svgwg.org/svg2-draft/embedded.html#InterfaceSVGImageElement
[Exposed=Window]
interface SVGImageElement : SVGGraphicsElement {
[SameObject] readonly attribute SVGAnimatedLength x;
[SameObject] readonly attribute SVGAnimatedLength y;
[SameObject] readonly attribute SVGAnimatedLength width;
[SameObject] readonly attribute SVGAnimatedLength height;
[FIXME, SameObject] readonly attribute SVGAnimatedPreserveAspectRatio preserveAspectRatio;
[Reflect=crossorigin, Enumerated=CORSSettingsAttribute] attribute DOMString? crossOrigin;
};
SVGImageElement includes SVGURIReference;