The SVGSVGElement
interface provides access to the properties of <svg>
elements, as well as methods to manipulate them. This interface contains also various miscellaneous commonly-used utility methods, such as matrix operations and the ability to control the time of redraw on visual rendering devices.
<div id="interfaceDiagram" style="display: inline-block; position: relative; width: 100%; padding-bottom: 23.333333333333332%; vertical-align: middle; overflow: hidden;"><svg style="display: inline-block; position: absolute; top: 0; left: 0;" viewbox="-50 0 600 140" preserveAspectRatio="xMinYMin meet"><a xlink:href="https://developer.mozilla.org/en-US/docs/Web/API/EventTarget" target="_top"><rect x="1" y="1" width="110" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="56" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">EventTarget</text></a><polyline points="111,25 121,20 121,30 111,25" stroke="#D4DDE4" fill="none"/><line x1="121" y1="25" x2="151" y2="25" stroke="#D4DDE4"/><a xlink:href="https://developer.mozilla.org/en-US/docs/Web/API/Node" target="_top"><rect x="151" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="188.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Node</text></a><polyline points="226,25 236,20 236,30 226,25" stroke="#D4DDE4" fill="none"/><line x1="236" y1="25" x2="266" y2="25" stroke="#D4DDE4"/><a xlink:href="https://developer.mozilla.org/en-US/docs/Web/API/Element" target="_top"><rect x="266" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="303.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Element</text></a><polyline points="341,25 351,20 351,30 341,25" stroke="#D4DDE4" fill="none"/><line x1="351" y1="25" x2="381" y2="25" stroke="#D4DDE4"/><a xlink:href="https://developer.mozilla.org/en-US/docs/Web/API/SVGElement" target="_top"><rect x="381" y="1" width="100" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="431" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">SVGElement</text></a><polyline points="481,25 491,20 491,30 481,25" stroke="#D4DDE4" fill="none"/><line x1="491" y1="25" x2="499" y2="25" stroke="#D4DDE4"/><line x1="499" y1="25" x2="499" y2="90" stroke="#D4DDE4"/><line x1="499" y1="90" x2="482" y2="90" stroke="#D4DDE4"/><a xlink:href="https://developer.mozilla.org/en-US/docs/Web/API/SVGGraphicsElement" target="_top"><rect x="301" y="65" width="180" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="391" y="94" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">SVGGraphicsElement</text></a><polyline points="301,89 291,84 291,94 301,89" stroke="#D4DDE4" fill="none"/><line x1="291" y1="89" x2="261" y2="89" stroke="#D4DDE4"/><a xlink:href="https://developer.mozilla.org/en-US/docs/Web/API/SVGSVGElement" target="_top"><rect x="131" y="65" width="130" height="50" fill="#F4F7F8" stroke="#D4DDE4" stroke-width="2px" /><text x="196" y="94" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">SVGSVGElement</text></a></svg></div>
a:hover text { fill: #0095DD; pointer-events: all;}
Properties
This interface also inherits properties from its parent, SVGGraphicsElement
and also implements the ones from SVGZoomAndPan
, SVGFitToViewBox
, and WindowEventHandlers
.
SVGSVGElement.x
Read only- An
SVGAnimatedLength
corresponding to thex
attribute of the given<svg>
element. SVGSVGElement.y
Read only- An
SVGAnimatedLength
corresponding to they
attribute of the given<svg>
element. SVGSVGElement.width
Read only- An
SVGAnimatedLength
corresponding to thewidth
attribute of the given<svg>
element. SVGSVGElement.height
Read only- An
SVGAnimatedLength
corresponding to theheight
attribute of the given<svg>
element. SVGSVGElement.contentScriptType
- An
SVGAnimatedLength
corresponding to thecontentScriptType
attribute of the given<svg>
element. SVGSVGElement.contentStyleType
- An
SVGAnimatedLength
corresponding to thecontentStyleType
attribute of the given<svg>
element. SVGSVGElement.viewport
- An
SVGRect
containing the position and size of the viewport (implicit or explicit) that corresponds to the given<svg>
element. When the browser is actually rendering the content, then the position and size values represent the actual values when rendering. The position and size values are unitless values in the coordinate system of the parent element. If no parent element exists (i.e.,<svg>
element represents the root of the document tree), if this SVG document is embedded as part of another document (e.g., via the HTML<object>
element), then the position and size are unitless values in the coordinate system of the parent document. (If the parent uses CSS or XSL layout, then unitless values represent pixel units for the current CSS or XSL viewport.) SVGSVGElement.pixelUnitToMillimeterX
'- A float representing the size of the pixel unit (as defined by CSS2) along the x-axis of the viewport, which represents a unit somewhere in the range of 70dpi to 120dpi, and, on systems that support this, might actually match the characteristics of the target medium. On systems where it is impossible to know the size of a pixel, a suitable default pixel size is provided.
SVGSVGElement.pixelUnitToMillimeterY
'- A float representing the size of a pixel unit along the y-axis of the viewport.
SVGSVGElement.screenPixelToMillimeterX
'- User interface (UI) events in DOM Level 2 indicate the screen positions at which the given UI event occurred. When the browser actually knows the physical size of a "screen unit", this float attribute will express that information; otherwise, user agents will provide a suitable default value (such as
.28mm
). SVGSVGElement.screenPixelToMillimeterY
'- Corresponding size of a screen pixel along the y-axis of the viewport.
SVGSVGElement.useCurrentView
- The initial view (i.e., before magnification and panning) of the current innermost SVG document fragment can be either the "standard" view, i.e., based on attributes on the
<svg>
element such asviewBox
) or on a "custom" view (i.e., a hyperlink into a particular<view>
or other element). If the initial view is the "standard" view, then this attribute isfalse
. If the initial view is a "custom" view, then this attribute istrue
. SVGSVGElement.currentView
- An
SVGViewSpec
defining the initial view (i.e., before magnification and panning) of the current innermost SVG document fragment. The meaning depends on the situation: If the initial view was a "standard" view, then:- the values for
viewBox
,preserveAspectRatio
andzoomAndPan
withincurrentView
will match the values for the corresponding DOM attributes that are onSVGSVGElement
directly - the values for
transform
andviewTarget
withincurrentView
will benull
If the initial view was a link into a
<view>
element, then:- the values for
viewBox
,preserveAspectRatio
andzoomAndPan
withincurrentView
will correspond to the corresponding attributes for the given<view>
element - the values for
transform
andviewTarget
withincurrentView
will benull
If the initial view was a link into another element (i.e., other than a
<view>
), then:- the values for
viewBox
,preserveAspectRatio
andzoomAndPan
withincurrentView
will match the values for the corresponding DOM attributes that are onSVGSVGElement
directly for the closest ancestor<svg>
element - the values for
transform
withincurrentView
will benull
- the
viewTarget
withincurrentView
will represent the target of the link
If the initial view was a link into the SVG document fragment using an SVG view specification fragment identifier (i.e.,
#svgView(…)
), then:- the values for
viewBox
,preserveAspectRatio
,zoomAndPan
,transform
andviewTarget
withincurrentView
will correspond to the values from the SVG view specification fragment identifier
- the values for
SVGSVGElement.currentScale
- On an outermost
<svg>
element, this float attribute indicates the current scale factor relative to the initial view to take into account user magnification and panning operations. DOM attributescurrentScale
andcurrentTranslate
are equivalent to the 2×3 matrix[a b c d e f] = [currentScale 0 0 currentScale currentTranslate.x currentTranslate.y]
. If "magnification" is enabled (i.e.,zoomAndPan="magnify"
), then the effect is as if an extra transformation were placed at the outermost level on the SVG document fragment (i.e., outside the outermost<svg>
element). SVGSVGElement.currentTranslate
Read only- An
SVGPoint
representing the translation factor that takes into account user "magnification" corresponding to an outermost<svg>
element. The behavior is undefined for<svg>
elements that are not at the outermost level.
Methods
This interface also inherits methods from its parent, SVGGraphicsElement
and also implements the ones from SVGZoomAndPan
, SVGFitToViewBox
, and WindowEventHandlers
.
SVGSVGElement.suspendRedraw()
'Takes a time-out value which indicates that redraw shall not occur until:
the corresponding
unsuspendRedraw()
call has been made, anunsuspendRedrawAll()
call has been made, or its timer has timed out.In environments that do not support interactivity (e.g., print media), then redraw shall not be suspended. Calls to
suspendRedraw()
andunsuspendRedraw()
should, but need not be, made in balanced pairs.To suspend redraw actions as a collection of SVG DOM changes occur, precede the changes to the SVG DOM with a method call similar to:
const suspendHandleID = suspendRedraw(maxWaitMilliseconds)
and follow the changes with a method call similar to:
unsuspendRedraw(suspendHandleID)
Note that multiple
suspendRedraw()
calls can be used at once, and that each such method call is treated independently of the othersuspendRedraw()
method calls.SVGSVGElement.unsuspendRedraw()
'- Cancels a specified
suspendRedraw()
by providing a unique suspend handle ID that was returned by a previoussuspendRedraw()
call. SVGSVGElement.unsuspendRedrawAll()
'- Cancels all currently active
suspendRedraw()
method calls. This method is most useful at the very end of a set of SVG DOM calls to ensure that all pendingsuspendRedraw()
method calls have been cancelled. SVGSVGElement.forceRedraw()
'- In rendering environments supporting interactivity, forces the user agent to immediately redraw all regions of the viewport that require updating.
SVGSVGElement.pauseAnimations()
- Suspends (i.e., pauses) all currently running animations that are defined within the SVG document fragment corresponding to this
<svg>
element, causing the animation clock corresponding to this document fragment to stand still until it is unpaused. SVGSVGElement.unpauseAnimations()
- Unsuspends (i.e., unpauses) currently running animations that are defined within the SVG document fragment, causing the animation clock to continue from the time at which it was suspended.
SVGSVGElement.animationsPaused()
- Returns
true
if this SVG document fragment is in a paused state. SVGSVGElement.getCurrentTime()
- Returns the current time in seconds relative to the start time for the current SVG document fragment. If
getCurrentTime()
is called before the document timeline has begun (for example, by script running in a<script>
element before the document'sSVGLoad
event is dispatched), then0
is returned. SVGSVGElement.setCurrentTime()
- Adjusts the clock for this SVG document fragment, establishing a new current time. If
setCurrentTime()
is called before the document timeline has begun (for example, by script running in a<script>
element before the document'sSVGLoad
event is dispatched), then the value of seconds in the last invocation of the method gives the time that the document will seek to once the document timeline has begun. SVGSVGElement.getIntersectionList()
- Returns a
NodeList
of graphics elements whose rendered content intersects the supplied rectangle. Each candidate graphics element is to be considered a match only if the same graphics element can be a target of pointer events as defined inpointer-events
processing. SVGSVGElement.getEnclosureList()
- Returns a
NodeList
of graphics elements whose rendered content is entirely contained within the supplied rectangle. Each candidate graphics element is to be considered a match only if the same graphics element can be a target of pointer events as defined inpointer-events
processing. SVGSVGElement.checkIntersection()
- Returns
true
if the rendered content of the given element intersects the supplied rectangle. Each candidate graphics element is to be considered a match only if the same graphics element can be a target of pointer events as defined inpointer-events
processing. SVGSVGElement.checkEnclosure()
- Returns
true
if the rendered content of the given element is entirely contained within the supplied rectangle. Each candidate graphics element is to be considered a match only if the same graphics element can be a target of pointer events as defined inpointer-events
processing. SVGSVGElement.deselectAll()
- Unselects any selected objects, including any selections of text strings and type-in bars.
SVGSVGElement.createSVGNumber()
- Creates an
SVGNumber
object outside of any document trees. The object is initialized to0
. SVGSVGElement.createSVGLength()
- Creates an
SVGLength
object outside of any document trees. The object is initialized to0
user units. SVGSVGElement.createSVGAngle()
- Creates an
SVGAngle
object outside of any document trees. The object is initialized to a value of0
degrees (unitless). SVGSVGElement.createSVGPoint()
- Creates an
SVGPoint
object outside of any document trees. The object is initialized to the point(0,0)
in the user coordinate system. SVGSVGElement.createSVGMatrix()
- Creates an
SVGMatrix
object outside of any document trees. The object is initialized to the identity matrix. SVGSVGElement.createSVGRect()
- Creates an
SVGRect
object outside of any document trees. The object is initialized such that all values are set to0
user units. SVGSVGElement.createSVGTransform()
- Creates an
SVGTransform
object outside of any document trees. The object is initialized to an identity matrix transform (SVG_TRANSFORM_MATRIX
). SVGSVGElement.createSVGTransformFromMatrix()
- Creates an
SVGTransform
object outside of any document trees. The object is initialized to the given matrix transform (i.e.,SVG_TRANSFORM_MATRIX
). The values from the parameter matrix are copied, the matrix parameter is not adopted asSVGTransform::matrix
. SVGSVGElement.getElementById()
- Searches this SVG document fragment (i.e., the search is restricted to a subset of the document tree) for an Element whose
id
is given byelementId
. If an Element is found, that Element is returned. If no such element exists, returnsnull
. Behavior is not defined if more than one element has this id.
Specifications
Specification | Status | Comment |
---|---|---|
Scalable Vector Graphics (SVG) 2The definition of 'SVGSVGElement' in that specification. | Candidate Recommendation | Replaced the inheritance from SVGElement by SVGGraphicsElement , removed the implemented interfaces SVGTests , SVGLangSpace , SVGExternalResourcesRequired , SVGStylable , SVGLocatable , DocumentEvent , ViewCSS , and DocumentCSS and added implemented interface WindowEventHandlers .
|
Scalable Vector Graphics (SVG) 1.1 (Second Edition)The definition of 'SVGSVGElement' in that specification. | Recommendation | Initial definition |
Browser compatibility
The compatibility table on this page is generated from structured data. If you'd like to contribute to the data, please check out https://github.com/mdn/browser-compat-data and send us a pull request.
Update compatibility data on GitHub
Desktop | Mobile | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
SVGSVGElement
|
Chrome
Full support Yes |
Edge
Full support 12 |
Firefox
Full support Yes |
IE
Full support 9 |
Opera
Full support Yes |
Safari
Full support Yes |
WebView Android
Full support Yes |
Chrome Android
Full support Yes |
Firefox Android
Full support Yes |
Opera Android
Full support Yes |
Safari iOS
Full support Yes |
Samsung Internet Android
Full support Yes |
animationsPaused
|
Chrome
? |
Edge
? |
Firefox
? |
IE
No support No |
Opera
? |
Safari
? |
WebView Android
? |
Chrome Android
? |
Firefox Android
? |
Opera Android
? |
Safari iOS
? |
Samsung Internet Android
? |
checkEnclosure
|
Chrome
Full support Yes |
Edge
Full support 12 |
Firefox
No support No |
IE
? |
Opera
Full support Yes |
Safari
Full support Yes |
WebView Android
Full support Yes |
Chrome Android
Full support Yes |
Firefox Android
No support No |
Opera Android
Full support Yes |
Safari iOS
Full support Yes |
Samsung Internet Android
Full support Yes |
checkIntersection
|
Chrome
Full support Yes |
Edge
Full support 12 |
Firefox
No support No |
IE
? |
Opera
Full support Yes |
Safari
Full support Yes |
WebView Android
Full support Yes |
Chrome Android
Full support Yes |
Firefox Android
No support No |
Opera Android
Full support Yes |
Safari iOS
Full support Yes |
Samsung Internet Android
Full support Yes |
contentScriptType
|
Chrome
? |
Edge
Full support 12 |
Firefox
No support ? — 20 |
IE
? |
Opera
? |
Safari
? |
WebView Android
? |
Chrome Android
? |
Firefox Android
? |
Opera Android
? |
Safari iOS
? |
Samsung Internet Android
? |
contentStyleType
|
Chrome
? |
Edge
Full support 12 |
Firefox
No support ? — 20 |
IE
? |
Opera
? |
Safari
? |
WebView Android
? |
Chrome Android
? |
Firefox Android
? |
Opera Android
? |
Safari iOS
? |
Samsung Internet Android
? |
createSVGAngle
|
Chrome
Full support Yes |
Edge
Full support 12 |
Firefox
Full support Yes |
IE
? |
Opera
Full support Yes |
Safari
Full support Yes |
WebView Android
Full support Yes |
Chrome Android
Full support Yes |
Firefox Android
Full support Yes |
Opera Android
Full support Yes |
Safari iOS
Full support Yes |
Samsung Internet Android
Full support Yes |
createSVGLength
|
Chrome
Full support Yes |
Edge
Full support 12 |
Firefox
Full support Yes |
IE
? |
Opera
Full support Yes |
Safari
Full support Yes |
WebView Android
Full support Yes |
Chrome Android
Full support Yes |
Firefox Android
Full support Yes |
Opera Android
Full support Yes |
Safari iOS
Full support Yes |
Samsung Internet Android
Full support Yes |
createSVGMatrix
|
Chrome
Full support Yes |
Edge
Full support 12 |
Firefox
Full support Yes |
IE
? |
Opera
Full support Yes |
Safari
Full support Yes |
WebView Android
Full support Yes |
Chrome Android
Full support Yes |
Firefox Android
Full support Yes |
Opera Android
Full support Yes |
Safari iOS
Full support Yes |
Samsung Internet Android
Full support Yes |
createSVGNumber
|
Chrome
Full support Yes |
Edge
Full support 12 |
Firefox
Full support Yes |
IE
? |
Opera
Full support Yes |
Safari
Full support Yes |
WebView Android
Full support Yes |
Chrome Android
Full support Yes |
Firefox Android
Full support Yes |
Opera Android
Full support Yes |
Safari iOS
Full support Yes |
Samsung Internet Android
Full support Yes |
createSVGPoint
|
Chrome
Full support Yes |
Edge
Full support 12 |
Firefox
Full support Yes |
IE
? |
Opera
Full support Yes |
Safari
Full support Yes |
WebView Android
Full support Yes |
Chrome Android
Full support Yes |
Firefox Android
Full support Yes |
Opera Android
Full support Yes |
Safari iOS
Full support Yes |
Samsung Internet Android
Full support Yes |
createSVGRect
|
Chrome
Full support Yes |
Edge
Full support 12 |
Firefox
Full support Yes |
IE
? |
Opera
Full support Yes |
Safari
Full support Yes |
WebView Android
Full support Yes |
Chrome Android
Full support Yes |
Firefox Android
Full support Yes |
Opera Android
Full support Yes |
Safari iOS
Full support Yes |
Samsung Internet Android
Full support Yes |
createSVGTransform
|
Chrome
Full support Yes |
Edge
Full support 12 |
Firefox
Full support Yes |
IE
? |
Opera
Full support Yes |
Safari
Full support Yes |
WebView Android
Full support Yes |
Chrome Android
Full support Yes |
Firefox Android
Full support Yes |
Opera Android
Full support Yes |
Safari iOS
Full support Yes |
Samsung Internet Android
Full support Yes |
createSVGTransformFromMatrix
|
Chrome
Full support Yes |
Edge
Full support 12 |
Firefox
Full support Yes |
IE
? |
Opera
Full support Yes |
Safari
Full support Yes |
WebView Android
Full support Yes |
Chrome Android
Full support Yes |
Firefox Android
Full support Yes |
Opera Android
Full support Yes |
Safari iOS
Full support Yes |
Samsung Internet Android
Full support Yes |
currentScale
|
Chrome
Full support Yes |
Edge
Full support 12 |
Firefox
Full support Yes |
IE
? |
Opera
Full support Yes |
Safari
Full support Yes |
WebView Android
Full support Yes |
Chrome Android
Full support Yes |
Firefox Android
Full support Yes |
Opera Android
Full support Yes |
Safari iOS
Full support Yes |
Samsung Internet Android
Full support Yes |
currentTranslate
|
Chrome
Full support Yes |
Edge
Full support 12 |
Firefox
Full support Yes |
IE
? |
Opera
Full support Yes |
Safari
Full support Yes |
WebView Android
Full support Yes |
Chrome Android
Full support Yes |
Firefox Android
Full support Yes |
Opera Android
Full support Yes |
Safari iOS
Full support Yes |
Samsung Internet Android
Full support Yes |
currentView
|
Chrome
No support ? — 56 |
Edge
No support No |
Firefox
Full support Yes |
IE
? |
Opera
No support ? — 43 |
Safari
? |
WebView Android
No support ? — 56 |
Chrome Android
No support ? — 56 |
Firefox Android
Full support Yes |
Opera Android
No support ? — 43 |
Safari iOS
? |
Samsung Internet Android
No support ? — 6.0 |
deselectAll
|
Chrome
Full support Yes |
Edge
Full support 12 |
Firefox
Full support Yes |
IE
? |
Opera
Full support Yes |
Safari
Full support Yes |
WebView Android
Full support Yes |
Chrome Android
Full support Yes |
Firefox Android
Full support Yes |
Opera Android
Full support Yes |
Safari iOS
Full support Yes |
Samsung Internet Android
Full support Yes |
|
Chrome
Full support Yes |
Edge
Full support 12 |
Firefox
Full support Yes |
IE
? |
Opera
Full support Yes |
Safari
Full support Yes |
WebView Android
Full support Yes |
Chrome Android
Full support Yes |
Firefox Android
Full support Yes |
Opera Android
Full support Yes |
Safari iOS
Full support Yes |
Samsung Internet Android
Full support Yes |
getCurrentTime
|
Chrome
? |
Edge
Full support 12 |
Firefox
? |
IE
? |
Opera
? |
Safari
? |
WebView Android
? |
Chrome Android
? |
Firefox Android
? |
Opera Android
? |
Safari iOS
? |
Samsung Internet Android
? |
getElementById
|
Chrome
Full support Yes |
Edge
Full support 12 |
Firefox
Full support 11 |
IE
? |
Opera
Full support Yes |
Safari
Full support Yes |
WebView Android
Full support Yes |
Chrome Android
Full support Yes |
Firefox Android
Full support Yes |
Opera Android
Full support Yes |
Safari iOS
Full support Yes |
Samsung Internet Android
Full support Yes |
getEnclosureList
|
Chrome
Full support Yes |
Edge
Full support 12 |
Firefox
No support No |
IE
? |
Opera
Full support Yes |
Safari
Full support Yes |
WebView Android
Full support Yes |
Chrome Android
Full support Yes |
Firefox Android
No support No |
Opera Android
Full support Yes |
Safari iOS
Full support Yes |
Samsung Internet Android
Full support Yes |
getIntersectionList
|
Chrome
Full support Yes |
Edge
Full support 12 |
Firefox
No support No |
IE
? |
Opera
Full support Yes |
Safari
Full support Yes |
WebView Android
Full support Yes |
Chrome Android
Full support Yes |
Firefox Android
No support No |
Opera Android
Full support Yes |
Safari iOS
Full support Yes |
Samsung Internet Android
Full support Yes |
height
|
Chrome
Full support Yes |
Edge
Full support 12 |
Firefox
Full support Yes |
IE
? |
Opera
Full support Yes |
Safari
Full support Yes |
WebView Android
Full support Yes |
Chrome Android
Full support Yes |
Firefox Android
Full support Yes |
Opera Android
Full support Yes |
Safari iOS
Full support Yes |
Samsung Internet Android
Full support Yes |
pauseAnimations
|
Chrome
? |
Edge
Full support 12 |
Firefox
? |
IE
? |
Opera
? |
Safari
? |
WebView Android
? |
Chrome Android
? |
Firefox Android
? |
Opera Android
? |
Safari iOS
? |
Samsung Internet Android
? |
|
Chrome
No support ? — 47 |
Edge
No support 12 — 79 |
Firefox
No support ? — 61 |
IE
? |
Opera
No support ? — 33 |
Safari
? |
WebView Android
No support ? — 47 |
Chrome Android
No support ? — 47 |
Firefox Android
No support ? — 61 |
Opera Android
No support ? — 33 |
Safari iOS
? |
Samsung Internet Android
No support ? — 5.0 |
|
Chrome
No support ? — 47 |
Edge
No support 12 — 79 |
Firefox
No support ? — 61 |
IE
? |
Opera
No support ? — 33 |
Safari
? |
WebView Android
No support ? — 47 |
Chrome Android
No support ? — 47 |
Firefox Android
No support ? — 61 |
Opera Android
No support ? — 33 |
Safari iOS
? |
Samsung Internet Android
No support ? — 5.0 |
|
Chrome
No support ? — 47 |
Edge
No support 12 — 79 |
Firefox
No support ? — 61 |
IE
? |
Opera
No support ? — 33 |
Safari
? |
WebView Android
No support ? — 47 |
Chrome Android
No support ? — 47 |
Firefox Android
No support ? — 61 |
Opera Android
No support ? — 33 |
Safari iOS
? |
Samsung Internet Android
No support ? — 5.0 |
|
Chrome
No support ? — 47 |
Edge
No support 12 — 79 |
Firefox
No support ? — 61 |
IE
? |
Opera
No support ? — 33 |
Safari
? |
WebView Android
No support ? — 47 |
Chrome Android
No support ? — 47 |
Firefox Android
No support ? — 61 |
Opera Android
No support ? — 33 |
Safari iOS
? |
Samsung Internet Android
No support ? — 5.0 |
setCurrentTime
|
Chrome
? |
Edge
Full support 12 |
Firefox
? |
IE
? |
Opera
? |
Safari
? |
WebView Android
? |
Chrome Android
? |
Firefox Android
? |
Opera Android
? |
Safari iOS
? |
Samsung Internet Android
? |
|
Chrome
Full support Yes |
Edge
Full support 12 |
Firefox
Full support Yes |
IE
? |
Opera
Full support Yes |
Safari
Full support Yes |
WebView Android
Full support Yes |
Chrome Android
Full support Yes |
Firefox Android
Full support Yes |
Opera Android
Full support Yes |
Safari iOS
Full support Yes |
Samsung Internet Android
Full support Yes |
unpauseAnimations
|
Chrome
? |
Edge
Full support 12 |
Firefox
? |
IE
? |
Opera
? |
Safari
? |
WebView Android
? |
Chrome Android
? |
Firefox Android
? |
Opera Android
? |
Safari iOS
? |
Samsung Internet Android
? |
|
Chrome
Full support Yes |
Edge
Full support 12 |
Firefox
Full support Yes |
IE
? |
Opera
Full support Yes |
Safari
Full support Yes |
WebView Android
Full support Yes |
Chrome Android
Full support Yes |
Firefox Android
Full support Yes |
Opera Android
Full support Yes |
Safari iOS
Full support Yes |
Samsung Internet Android
Full support Yes |
|
Chrome
Full support Yes |
Edge
Full support 12 |
Firefox
Full support Yes |
IE
? |
Opera
Full support Yes |
Safari
Full support Yes |
WebView Android
Full support Yes |
Chrome Android
Full support Yes |
Firefox Android
Full support Yes |
Opera Android
Full support Yes |
Safari iOS
Full support Yes |
Samsung Internet Android
Full support Yes |
useCurrentView
|
Chrome
No support ? — 56 |
Edge
No support No |
Firefox
Full support 15 |
IE
? |
Opera
No support ? — 43 |
Safari
? |
WebView Android
No support ? — 56 |
Chrome Android
No support ? — 56 |
Firefox Android
Full support 15 |
Opera Android
No support ? — 43 |
Safari iOS
? |
Samsung Internet Android
No support ? — 6.0 |
viewport
|
Chrome
? |
Edge
Full support 12 |
Firefox
? |
IE
? |
Opera
? |
Safari
? |
WebView Android
? |
Chrome Android
? |
Firefox Android
? |
Opera Android
? |
Safari iOS
? |
Samsung Internet Android
? |
width
|
Chrome
Full support Yes |
Edge
Full support 12 |
Firefox
Full support Yes |
IE
? |
Opera
Full support Yes |
Safari
Full support Yes |
WebView Android
Full support Yes |
Chrome Android
Full support Yes |
Firefox Android
Full support Yes |
Opera Android
Full support Yes |
Safari iOS
Full support Yes |
Samsung Internet Android
Full support Yes |
x
|
Chrome
Full support Yes |
Edge
Full support 12 |
Firefox
Full support Yes |
IE
? |
Opera
Full support Yes |
Safari
Full support Yes |
WebView Android
Full support Yes |
Chrome Android
Full support Yes |
Firefox Android
Full support Yes |
Opera Android
Full support Yes |
Safari iOS
Full support Yes |
Samsung Internet Android
Full support Yes |
y
|
Chrome
Full support Yes |
Edge
Full support 12 |
Firefox
Full support Yes |
IE
? |
Opera
Full support Yes |
Safari
Full support Yes |
WebView Android
Full support Yes |
Chrome Android
Full support Yes |
Firefox Android
Full support Yes |
Opera Android
Full support Yes |
Safari iOS
Full support Yes |
Samsung Internet Android
Full support Yes |
Legend
- Full support
- Full support
- No support
- No support
- Compatibility unknown
- Compatibility unknown
- Deprecated. Not for use in new websites.'
- Deprecated. Not for use in new websites.
See also
SVGSVGElement by Mozilla Contributors is licensed under CC-BY-SA 2.5.