Newer
Older
minerva / Userland / Libraries / LibWeb / SVG / SVGElement.idl
@minerva minerva on 13 Jul 619 bytes Initial commit
#import <CSS/ElementCSSInlineStyle.idl>
#import <DOM/Element.idl>
#import <HTML/HTMLElement.idl>
#import <HTML/DOMStringMap.idl>
#import <SVG/SVGAnimatedString.idl>
#import <SVG/SVGSVGElement.idl>

// https://svgwg.org/svg2-draft/types.html#InterfaceSVGElement
[Exposed=Window]
interface SVGElement : Element {

    [SameObject] readonly attribute SVGAnimatedString className;

    readonly attribute SVGSVGElement? ownerSVGElement;
    [FIXME] readonly attribute SVGElement? viewportElement;
};

SVGElement includes GlobalEventHandlers;
SVGElement includes HTMLOrSVGElement;
SVGElement includes ElementCSSInlineStyle;