mirror of
https://github.com/SerenityOS/serenity
synced 2026-05-14 19:06:55 +02:00
This element allows images to be embedded within SVGs. (cherry picked from commit 03bbc2b111b211f472bfbc0f04c10f03e28dbbdf)
16 lines
681 B
Plaintext
16 lines
681 B
Plaintext
#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;
|