The following interfaces are defined below: SVGForeignObjectElement.


Interface SVGForeignObjectElement

The SVGForeignObjectElement interface corresponds to the 'foreignObject' element.


IDL Definition
interface SVGForeignObjectElement : 
                SVGElement,
                SVGTests,
                SVGLangSpace,
                SVGExternalResourcesRequired,
                SVGStylable,
                SVGTransformable,
                events::EventTarget { 

           attribute SVGAnimatedLength x;
                       // raises DOMException on setting
           attribute SVGAnimatedLength y;
                       // raises DOMException on setting
           attribute SVGAnimatedLength width;
                       // raises DOMException on setting
           attribute SVGAnimatedLength height;
                       // raises DOMException on setting
};

Attributes
SVGAnimatedLength x
Corresponds to attribute x on the given 'foreignObject' element.
Exceptions on setting
DOMException
NO_MODIFICATION_ALLOWED_ERR: Raised when the node is readonly.
SVGAnimatedLength y
Corresponds to attribute y on the given 'foreignObject' element.
Exceptions on setting
DOMException
NO_MODIFICATION_ALLOWED_ERR: Raised when the node is readonly.
SVGAnimatedLength width
Corresponds to attribute width on the given 'foreignObject' element.
Exceptions on setting
DOMException
NO_MODIFICATION_ALLOWED_ERR: Raised when the node is readonly.
SVGAnimatedLength height
Corresponds to attribute height on the given 'foreignObject' element.
Exceptions on setting
DOMException
NO_MODIFICATION_ALLOWED_ERR: Raised when the node is readonly.