mozilla
您的搜索结果

    SVGElement

    我们的志愿者还没有将这篇文章翻译为 中文 (简体) 。加入我们帮助完成翻译!

    SVG element interface

    All of the SVG DOM interfaces that correspond directly to elements in the SVG language derive from the SVGElement interface.

    Interface overview

    Also implement See generic DOM Element interface.
    Methods None
    Properties
    Normative document SVG 1.1 (2nd Edition)

    Properties

    Name Type Description
    id DOMString The value of the id attribute on the given element, or the empty string if id is not present.
    xmlbase DOMString Corresponds to attribute xml:base on the given element.
    ownerSVGElement SVGSVGElement

    The nearest ancestor <svg> element. Null if the given element is the outermost svg element.

    viewportElement SVGElement

    The element which established the current viewport. Often, the nearest ancestor <svg> element. Null if the given element is the outermost svg element.

    Methods

    The SVGElement interface do not provide any specific methods.

    Browser compatibility

    Feature Chrome Firefox (Gecko) Internet Explorer Opera Safari (WebKit)
    Basic support (Yes) (Yes) 9.0 (Yes) (Yes)
    Feature Android Firefox Mobile (Gecko) IE Mobile Opera Mobile Safari Mobile
    Basic support Not supported (Yes) ? (Yes) (Yes)

    See also

    文档标签和贡献者

    此页面的贡献者有: Sheppy, kscarfone, fscholz, Jeremie
    最后编辑者: fscholz,
    隐藏侧边栏