This document describes the current Adobe SVG Viewer support for the W3C Scalable Vector Graphics (SVG) 1.0 Specification and related specifications. Each feature listed here indicates the version of Adobe SVG Viewer that first supported the feature. Note that versions 4 and 5 of Adobe SVG Viewer only supported Adobe Acrobat® and Adobe Reader (and not the web browsers) and went by the name Adobe Image Viewer. The Miscellaneous section near the end covers any feature of SVG that isn't an element, attribute, property, or DOM interface.
This table lists the elements and attributes supported by the viewers. All
attributes are supported unless noted in the table below. However, the only
XLink attribute supported is
xlink:href, and xml:lang is not suppoted.
| Element | Since | Notes |
| <a> | 1.0 | |
| <altGlyph> | 2.0 | |
| <altGlyphDef> | 2.0 | Only supports one <glyphRef> child. |
| <altGlyphItem> | Not yet supported | |
| <animate> | 1.0 | Unsupported attributes: min, max. |
| <animateColor> | 1.0 | Unsupported attributes: min, max. |
| <animateMotion> | 1.0 | Unsupported attributes: min, max. |
| <animateTransform> | 1.0 | Unsupported attributes: min, max. |
| <circle> | 1.0 | |
| <clipPath> | 1.0 | |
| <color-profile> | 3.0 | |
| <cursor> | 4.0 | |
| <definition-src> | Not yet supported | |
| <defs> | 1.0 | |
| <desc> | 1.0 | |
| <ellipse> | 1.0 | |
| <feBlend> | 1.0 | |
| <feColorMatrix> | 1.0 | |
| <feComponentTransfer> | 1.0 | |
| <feComposite> | 1.0 | |
| <feConvolveMatrix> | 1.0 | |
| <feDiffuseLighting> | 1.0 | |
| <feDisplacementMap> | 1.0 | |
| <feDistantLight> | 1.0 | |
| <feFlood> | 1.0 | |
| <feFuncA> | 1.0 | |
| <feFuncB> | 1.0 | |
| <feFuncG> | 1.0 | |
| <feFuncR> | 1.0 | |
| <feGaussianBlur> | 1.0 | |
| <feImage> | 1.0 | |
| <feMerge> | 1.0 | |
| <feMergeNode> | 1.0 | |
| <feMorphology> | 1.0 | |
| <feOffset> | 1.0 | |
| <fePointLight> | 1.0 | |
| <feSpecularLighting> | 1.0 | |
| <feSpotLight> | 1.0 | |
| <feTile> | 1.0 | |
| <feTurbulence> | 1.0 | |
| <filter> | 1.0 | Unsupported attribute: xlink:href.
Use tightly-bound percentages on the x, y, width, and height attributes in
order to minimize the area over which the filter effect needs to be calculated so that it will render as quickly as possible.
|
| <font> | 2.0 | |
| <font-face> | 2.0 | All attributes specific to the font-face element are unsupported except for units-per-em, ascent, and descent. |
| <font-face-format> | 6.0 | |
| <font-face-name> | Not yet supported | |
| <font-face-src> | 6.0 | |
| <font-face-uri> | 6.0 | |
| <foreignObject> | 4.0 | |
| <g> | 1.0 | |
| <glyph> | 2.0 | Unsupported attriutes: glyph-name, han. |
| <glyphRef> | 2.0 | |
| <hkern> | 2.0 | |
| <image> | 1.0 | Supports GIF (unanimated), JPEG, PNG, and SVG (static only) images. profile information embedded in PNG files is supported, but ICC profiles embedded in JPEG images is not yet supported. |
| <line> | 1.0 | |
| <linearGradient> | 1.0 | |
| <marker> | 3.0 | |
| <mask> | 1.0 | |
| <metadata> | 2.0 | |
| <missing-glyph> | 2.0 | Supported attributes: horiz-adv-x, vert-adv-y, d |
| <mpath> | 2.0 | |
| <path> | 1.0 | Unsupported attribute: pathLength. |
| <pattern> | 2.0 | |
| <polygon> | 1.0 | |
| <polyline> | 1.0 | |
| <radialGradient> | 1.0 | |
| <rect> | 1.0 | |
| <script> | 1.0 | |
| <set> | 1.0 | Unsupported attributes: min, max. |
| <stop> | 1.0 | |
| <style> | 1.0 | Unsupported attributes: title. Only CSS styles are supported. |
| <svg> | 1.0 | The contentStyleType attribute is not supported (only CSS styling is suported). |
| <switch> | 2.0 | |
| <symbol> | 1.0 | |
| <text> | 1.0 | Unsupported attributes: textLength, lengthAdjust. |
| <textPath> | 1.0 | Unsupported attributes: textLength, lengthAdjust, method, spacing |
| <title> | 3.0 | |
| <tref> | 1.0 | Unsupported attributes: textLength, lengthAdjust. |
| <tspan> | 1.0 | Unsupported attributes: textLength, lengthAdjust. |
| <use> | 1.0 | Only supports links to elements within the same file. |
| <view> | 3.0 | Unsupported attribute: viewTarget. |
| <vkern> | 2.0 |
This table lists the SVG CSS properties and the current level of support for them. All specified property values and formats are supported unless otherwise noted below.
Nearly all CSS level 2 features required in the SVG 1.0 specification are supported, including CSS2 syntax rules, data types, selectors, cascading, inheritance, and rules for assigning property values. However, the @media, @import, and @charset rules are not supported, and the pseudo-classes (such as :hover) are not supported, either.
In general, persentation attributes or style attributes (or style attributes that use entity
references) will render more quickly than embedded style sheets.
The ability to link external CSS style sheets to SVG documents with the xml style sheet processing instruction is supported.
| Property | Since | Notes |
| alignment-baseline | 2.0 | |
| baseline-shift | 1.0 | |
| clip | 1.0 | |
| clip-path | 1.0 | |
| clip-rule | 1.0 | |
| color | 1.0 | |
| color-interpolation | 2.0 | |
| color-interpolation-filters | 3.0 | |
| color-profile | 3.0 | |
| color-rendering | 1.0 | If you set this property to "optimizeQuality" on the top-most <svg> element in your SVG file, then all sRGB colors will be displayed in device color space if color management is installed and configured. However, this will slow down drawing and animation, so this functionality is disabled by default even if the optional color management module is installed. |
| cursor | 4.0 | |
| direction | 2.0 | |
| display | 1.0 | |
| dominant-baseline | 1.0 | |
| enable-background | 1.0 | |
| fill | 1.0 | |
| fill-opacity | 1.0 | |
| fill-rule | 1.0 | |
| filter | 1.0 | |
| flood-color | 2.0 | |
| flood-opacity | 2.0 | |
| font | 1.0 | |
| font-family | 1.0 | Both PostScript® font family names as well as "menu" font names are supported. |
| font-size | 1.0 | |
| font-size-adjust | 1.0 | |
| font-stretch | 1.0 | |
| font-style | 1.0 | |
| font-variant | 2.0 | Supported only for fonts defined with the @font-face rule. |
| font-weight | 1.0 | |
| glyph-orientation-hoizontal | 2.0 | |
| glyph-orientation-vertical | 2.0 | |
| image-rendering | 1.0 | |
| kerning | 2.0 | |
| letter-spacing | 1.0 | |
| lighting-color | 2.0 | |
| marker | 3.0 | |
| marker-end | 3.0 | |
| marker-mid | 3.0 | |
| marker-start | 3.0 | |
| mask | 1.0 | |
| opacity | 1.0 | |
| overflow | 1.0 | No distinction is made between scroll and hidden. |
| pointer-events | 2.0 | Does not include support for transparency on raster elements. |
| shape-rendering | 1.0 | |
| stop-color | 1.0 | |
| stop-opacity | 1.0 | |
| stroke | 1.0 | |
| stroke-dasharray | 1.0 | |
| stroke-dashoffset | 1.0 | |
| stroke-linecap | 1.0 | |
| stroke-linejoin | 1.0 | |
| stroke-miterlimit | 1.0 | |
| stroke-opacity | 1.0 | |
| stroke-width | 1.0 | |
| text-anchor | 1.0 | |
| text-decoration | 1.0 | The value "blink" is not supported. |
| text-rendering | 1.0 | |
| unicode-bidi | 2.0 | |
| visibility | 1.0 | |
| word-spacing | 1.0 | |
| writing-mode | 1.0 | Currently supports left-to-right and top-to-bottom modes only. |
This section covers the DOM interfaces supported by Adobe SVG Viewer. If an interface, method, or property is not listed here, then Adobe SVG Viewer does not yet support it. For brevity's sake, inherited interface members are listed only on base classes.
An embedded frame must first have keyboard focus for the event handlers onkeydown, onkeyup, and onkeypress to work.
Note: The script engine interface technology available on Netscape
for the Macintosh does not support writable attributes on interfaces. To work
around this limitation, Adobe SVG Viewer supports additional "get/set" methods
for each DOM interface attribute. For cross-browser script compatibility you
should always use these methods instead of the writable attributes listed
below. For example, to read from and write to the attribute
nodeValue on the Node interface, use the methods
getNodeValue and setNodeValue, instead. To save
space these methods were not listed below, but they are supported on all
browsers for all DOM interface attributes.
Interfaces in this module are defined in W3C DOM Core spec.
| Methods and Attributes | |||
|---|---|---|---|
| Name | Type | Since | Comment |
| hasFeature | method | 1.0 | |
| createDocumentType | method | 1.0 | Always throws an exception |
| createDocument | method | 1.0 | Always throws an exception |
| Methods and Attributes | |||
|---|---|---|---|
| Name | Type | Since | Comment |
| nodeName | read-only attribute | 1.0 | |
| nodeValue | attribute | 1.0 | |
| nodeType | read-only attribute | 1.0 | |
| parentNode | read-only attribute | 1.0 | |
| childNodes | read-only attribute | 1.0 | |
| firstChild | read-only attribute | 1.0 | |
| lastChild | read-only attribute | 1.0 | |
| previousSibling | read-only attribute | 1.0 | |
| nextSibling | read-only attribute | 1.0 | |
| attributes | read-only attribute | 1.0 | |
| ownerDocument | read-only attribute | 1.0 | |
| insertBefore | method | 1.0 | |
| replaceChild | method | 1.0 | |
| removeChild | method | 1.0 | |
| appendChild | method | 1.0 | |
| hasChildNodes | method | 1.0 | |
| cloneNode | method | 1.0 | |
| normalize | method | 1.0 | |
| isSupported | method | 1.0 | |
| namespaceURI | read-only attribute | 1.0 | |
| prefix | attribute | 1.0 | throws exception on setting |
| localName | read-only attribute | 1.0 | |
| hasAttributes | method | 1.0 | |
| Methods and Attributes | |||
|---|---|---|---|
| Name | Type | Since | Comment |
| item | method | 1.0 | |
| length | read-only attribute | 1.0 | |
| Methods and Attributes | |||
|---|---|---|---|
| Name | Type | Since | Comment |
| getNamedItem | method | 1.0 | |
| setNamedItem | method | 1.0 | |
| removeNamedItem | method | 1.0 | |
| item | method | 1.0 | |
| length | read-only attribute | 1.0 | |
| getNamedItemNS | method | 1.0 | |
| setNamedItemNS | method | 1.0 | |
| removeNamedItemNS | method | 1.0 | |
Inherits from dom::Node.
| Methods and Attributes | |||
|---|---|---|---|
| Name | Type | Since | Comment |
| data | attribute | 1.0 | |
| length | read-only attribute | 1.0 | |
| substringData | method | 1.0 | |
| appendData | method | 1.0 | |
| insertData | method | 1.0 | |
| deleteData | method | 1.0 | |
| replaceData | method | 1.0 | |
Inherits from dom::Node.
| Methods and Attributes | |||
|---|---|---|---|
| Name | Type | Since | Comment |
| name | read-only attribute | 1.0 | |
| specified | read-only attribute | 1.0 | |
| value | attribute | 1.0 | |
| ownerElement | read-only attribute | 1.0 | |
Inherits from dom::Node.
| Methods and Attributes | |||
|---|---|---|---|
| Name | Type | Since | Comment |
| tagName | read-only attribute | 1.0 | |
| getAttribute | method | 1.0 | |
| setAttribute | method | 1.0 | |
| removeAttribute | method | 1.0 | |
| getAttributeNode | method | 1.0 | |
| setAttributeNode | method | 1.0 | |
| removeAttributeNode | method | 1.0 | |
| getElementsByTagName | method | 1.0 | |
| getAttributeNS | method | 1.0 | |
| setAttributeNS | method | 1.0 | |
| removeAttributeNS | method | 1.0 | |
| getAttributeNodeNS | method | 1.0 | |
| setAttributeNodeNS | method | 1.0 | |
| getElementsByTagNameNS | method | 1.0 | |
| hasAttribute | method | 1.0 | |
| hasAttributeNS | method | 1.0 | |
Inherits from dom::CharacterData.
| Methods and Attributes | |||
|---|---|---|---|
| Name | Type | Since | Comment |
| splitText | method | 1.0 | |
Inherits from dom::CharacterData.
Inherits from dom::Text.
Inherits from dom::Node.
| Methods and Attributes | |||
|---|---|---|---|
| Name | Type | Since | Comment |
| name | read-only attribute | 1.0 | |
| entities | read-only attribute | 1.0 | |
| notations | read-only attribute | 1.0 | contains 0 notations, since ext. entities not supported |
| publicId | read-only attribute | 1.0 | |
| systemId | read-only attribute | 1.0 | |
| internalSubset | read-only attribute | 1.0 | always throws exception |
Inherits from dom::Node.
This interface is unused
| Methods and Attributes | |||
|---|---|---|---|
| Name | Type | Since | Comment |
| publicId | read-only attribute | 1.0 | |
| systemId | read-only attribute | 1.0 | |
Inherits from dom::Node.
| Methods and Attributes | |||
|---|---|---|---|
| Name | Type | Since | Comment |
| publicId | read-only attribute | 1.0 | no external entity support, so always returns empty string |
| systemId | read-only attribute | 1.0 | no external entity support, so always returns empty string |
| notationName | read-only attribute | 1.0 | no external entity support, so always returns empty string |
Inherits from dom::Node.
Inherits from dom::Node.
| Methods and Attributes | |||
|---|---|---|---|
| Name | Type | Since | Comment |
| target | read-only attribute | 1.0 | |
| data | attribute | 1.0 | |
Inherits from dom::Node.
Inherits from dom::Node.
| Methods and Attributes | |||
|---|---|---|---|
| Name | Type | Since | Comment |
| doctype | read-only attribute | 1.0 | |
| implementation | read-only attribute | 1.0 | |
| documentElement | read-only attribute | 1.0 | |
| createElement | method | 1.0 | |
| createDocumentFragment | method | 1.0 | |
| createTextNode | method | 1.0 | |
| createComment | method | 1.0 | |
| createCDATASection | method | 1.0 | |
| createProcessingInstruction | method | 1.0 | |
| createAttribute | method | 1.0 | |
| createEntityReference | method | 1.0 | |
| getElementsByTagName | method | 1.0 | |
| importNode | method | 1.0 | Always throws an exception |
| createElementNS | method | 1.0 | |
| createAttributeNS | method | 1.0 | |
| getElementsByTagNameNS | method | 1.0 | |
| getElementById | method | 1.0 | |
Interfaces in this module are defined in W3C DOM Events spec.
| Methods and Attributes | |||
|---|---|---|---|
| Name | Type | Since | Comment |
| addEventListener | method | 1.0 | |
| removeEventListener | method | 1.0 | |
| dispatchEvent | method | 1.0 | |
JavaScript function can be used as object of this type
| Methods and Attributes | |||
|---|---|---|---|
| Name | Type | Since | Comment |
| handleEvent | method | 1.0 | |
| Methods and Attributes | |||
|---|---|---|---|
| Name | Type | Since | Comment |
| type | read-only attribute | 1.0 | |
| target | read-only attribute | 1.0 | |
| currentNode | read-only attribute | 1.0 | This attribute is deprecated, use currentTarget instead |
| currentTarget | read-only attribute | 1.0 | |
| eventPhase | read-only attribute | 1.0 | |
| bubbles | read-only attribute | 1.0 | |
| cancelable | read-only attribute | 1.0 | |
| stopPropagation | method | 1.0 | |
| preventDefault | method | 1.0 | |
| Methods and Attributes | |||
|---|---|---|---|
| Name | Type | Since | Comment |
| createEvent | method | 6.0 | only custom events can be created |
Inherits from events::Event.
| Methods and Attributes | |||
|---|---|---|---|
| Name | Type | Since | Comment |
| detail | read-only attribute | 1.0 | |
Inherits from events::UIEvent.
| Methods and Attributes | |||
|---|---|---|---|
| Name | Type | Since | Comment |
| screenX | read-only attribute | 1.0 | |
| screenY | read-only attribute | 1.0 | |
| clientX | read-only attribute | 1.0 | |
| clientY | read-only attribute | 1.0 | |
| ctrlKey | read-only attribute | 1.0 | |
| shiftKey | read-only attribute | 1.0 | |
| altKey | read-only attribute | 1.0 | |
| metaKey | read-only attribute | 1.0 | |
| button | read-only attribute | 1.0 | |
| relatedTarget | read-only attribute | 1.0 | |
Inherits from events::UIEvent.
This interface was removed in final DOM Level 2 spec, but supported by Adobe SVG Viewer
| Methods and Attributes | |||
|---|---|---|---|
| Name | Type | Since | Comment |
| screenX | read-only attribute | 1.0 | |
| screenY | read-only attribute | 1.0 | |
| clientX | read-only attribute | 1.0 | |
| clientY | read-only attribute | 1.0 | |
| ctrlKey | read-only attribute | 1.0 | |
| shiftKey | read-only attribute | 1.0 | |
| altKey | read-only attribute | 1.0 | |
| metaKey | read-only attribute | 1.0 | |
| charCode | read-only attribute | 1.0 | |
| keyCode | read-only attribute | 1.0 | |
Inherits from events::Event.
Mutation events are not yet supported, so this interface is currently unused
| Methods and Attributes | |||
|---|---|---|---|
| Name | Type | Since | Comment |
| relatedNode | read-only attribute | 1.0 | |
| prevValue | read-only attribute | 1.0 | |
| newValue | read-only attribute | 1.0 | |
| attrName | read-only attribute | 1.0 | |
Interfaces in this module are defined in W3C DOM Style spec.
| Methods and Attributes | |||
|---|---|---|---|
| Name | Type | Since | Comment |
| type | read-only attribute | 3.0 | |
| disabled | attribute | 3.0 | |
| ownerNode | read-only attribute | 3.0 | |
| parentStyleSheet | read-only attribute | 3.0 | |
| href | read-only attribute | 3.0 | |
| title | read-only attribute | 3.0 | |
| media | read-only attribute | 3.0 | |
| Methods and Attributes | |||
|---|---|---|---|
| Name | Type | Since | Comment |
| length | read-only attribute | 3.0 | |
| item | method | 3.0 | |
| Methods and Attributes | |||
|---|---|---|---|
| Name | Type | Since | Comment |
| mediaText | attribute | 3.0 | |
| length | read-only attribute | 3.0 | |
| item | method | 3.0 | |
| deleteMedium | method | 3.0 | |
| appendMedium | method | 3.0 | |
| Methods and Attributes | |||
|---|---|---|---|
| Name | Type | Since | Comment |
| sheet | read-only attribute | 3.0 | |
| Methods and Attributes | |||
|---|---|---|---|
| Name | Type | Since | Comment |
| styleSheets | read-only attribute | 3.0 | |
Interfaces in this module are defined in W3C DOM Style spec.
| Methods and Attributes | |||
|---|---|---|---|
| Name | Type | Since | Comment |
| length | read-only attribute | 3.0 | |
| item | method | 3.0 | |
| Methods and Attributes | |||
|---|---|---|---|
| Name | Type | Since | Comment |
| type | read-only attribute | 3.0 | |
| cssText | attribute | 3.0 | |
| parentStyleSheet | read-only attribute | 3.0 | |
| parentRule | read-only attribute | 3.0 | |
Inherits from css::CSSRule.
| Methods and Attributes | |||
|---|---|---|---|
| Name | Type | Since | Comment |
| selectorText | attribute | 3.0 | |
| style | read-only attribute | 3.0 | |
Inherits from css::CSSRule.
| Methods and Attributes | |||
|---|---|---|---|
| Name | Type | Since | Comment |
| media | read-only attribute | 3.0 | |
| cssRules | read-only attribute | 3.0 | |
| insertRule | method | 3.0 | |
| deleteRule | method | 3.0 | |
Inherits from css::CSSRule.
| Methods and Attributes | |||
|---|---|---|---|
| Name | Type | Since | Comment |
| style | read-only attribute | 3.0 | |
Inherits from css::CSSRule.
| Methods and Attributes | |||
|---|---|---|---|
| Name | Type | Since | Comment |
| selectorText | attribute | 3.0 | |
| style | read-only attribute | 3.0 | |
Inherits from css::CSSRule.
| Methods and Attributes | |||
|---|---|---|---|
| Name | Type | Since | Comment |
| href | read-only attribute | 3.0 | |
| media | read-only attribute | 3.0 | |
| styleSheet | read-only attribute | 3.0 | |
Inherits from css::CSSRule.
| Methods and Attributes | |||
|---|---|---|---|
| Name | Type | Since | Comment |
| encoding | attribute | 3.0 | |
Inherits from css::CSSRule.
| Methods and Attributes | |||
|---|---|---|---|
| Name | Type | Since | Comment |
| cssText | attribute | 1.0 | |
| getPropertyValue | method | 1.0 | |
| getPropertyCSSValue | method | 1.0 | |
| removeProperty | method | 1.0 | |
| getPropertyPriority | method | 1.0 | |
| setProperty | method | 1.0 | |
| length | read-only attribute | 1.0 | |
| item | method | 1.0 | |
| parentRule | read-only attribute | 1.0 | |
| Methods and Attributes | |||
|---|---|---|---|
| Name | Type | Since | Comment |
| cssText | attribute | 1.0 | |
| valueType | read-only attribute | 1.0 | |
| Methods and Attributes | |||
|---|---|---|---|
| Name | Type | Since | Comment |
| identifier | read-only attribute | 3.0 | |
| listStyle | read-only attribute | 3.0 | |
| separator | read-only attribute | 3.0 | |
| Methods and Attributes | |||
|---|---|---|---|
| Name | Type | Since | Comment |
| style | read-only attribute | 3.0 | |
Inherits from stylesheets::StyleSheet.
| Methods and Attributes | |||
|---|---|---|---|
| Name | Type | Since | Comment |
| ownerRule | read-only attribute | 3.0 | |
| cssRules | read-only attribute | 3.0 | |
| insertRule | method | 3.0 | |
| deleteRule | method | 3.0 | |
Interfaces in this module are defined in W3C SMIL DOM spec.
| Methods and Attributes | |||
|---|---|---|---|
| Name | Type | Since | Comment |
| beginElement | method | 3.0 | |
| beginElementAt | method | 3.0 | |
| endElement | method | 3.0 | |
| endElementAt | method | 3.0 | |
Interfaces in this module are defined in W3C SVG spec.
Inherits from dom::Element.
| Methods and Attributes | |||
|---|---|---|---|
| Name | Type | Since | Comment |
| id | attribute | 1.0 | |
| ownerSVGElement | read-only attribute | 6.0 | |
| viewportElement | read-only attribute | 1.0 | |
| Methods and Attributes | |||
|---|---|---|---|
| Name | Type | Since | Comment |
| baseVal | attribute | 6.0 | |
| animVal | read-only attribute | 6.0 | |
| Methods and Attributes | |||
|---|---|---|---|
| Name | Type | Since | Comment |
| baseVal | attribute | 6.0 | |
| animVal | read-only attribute | 6.0 | |
| Methods and Attributes | |||
|---|---|---|---|
| Name | Type | Since | Comment |
| baseVal | attribute | 6.0 | |
| animVal | read-only attribute | 6.0 | |
| Methods and Attributes | |||
|---|---|---|---|
| Name | Type | Since | Comment |
| baseVal | attribute | 6.0 | |
| animVal | read-only attribute | 6.0 | |
| Methods and Attributes | |||
|---|---|---|---|
| Name | Type | Since | Comment |
| baseVal | attribute | 6.0 | |
| animVal | read-only attribute | 6.0 | |
| Methods and Attributes | |||
|---|---|---|---|
| Name | Type | Since | Comment |
| unitType | read-only attribute | 6.0 | |
| value | attribute | 6.0 | |
| valueInSpecifiedUnits | attribute | 6.0 | |
| valueAsString | attribute | 6.0 | |
| newValueSpecifiedUnits | method | 6.0 | |
| convertToSpecifiedUnits | method | 6.0 | |
| Methods and Attributes | |||
|---|---|---|---|
| Name | Type | Since | Comment |
| baseVal | read-only attribute | 6.0 | |
| animVal | read-only attribute | 6.0 | |
| Methods and Attributes | |||
|---|---|---|---|
| Name | Type | Since | Comment |
| x | attribute | 2.0 | |
| y | attribute | 2.0 | |
| width | attribute | 2.0 | |
| height | attribute | 2.0 | |
| Methods and Attributes | |||
|---|---|---|---|
| Name | Type | Since | Comment |
| style | read-only attribute | 1.0 | Available as attribute even on Mac NN |
| Methods and Attributes | |||
|---|---|---|---|
| Name | Type | Since | Comment |
| nearestViewportElement | read-only attribute | 4.0 | |
| farthestViewportElement | read-only attribute | 4.0 | |
| getBBox | method | 3.0 | |
| getCTM | method | 3.0 | |
| getScreenCTM | method | 4.0 | |
| getTransformToElement | method | 4.0 | |
Inherits from svg::SVGLocatable.
| Methods and Attributes | |||
|---|---|---|---|
| Name | Type | Since | Comment |
| href | read-only attribute | 6.0 | |
Inherits from dom::Document, stylesheets::DocumentStyle, events::DocumentEvent.
| Methods and Attributes | |||
|---|---|---|---|
| Name | Type | Since | Comment |
| title | attribute | 1.0 | |
| referrer | read-only attribute | 1.0 | |
| domain | read-only attribute | 1.0 | |
| URL | read-only attribute | 1.0 | |
| rootElement | read-only attribute | 2.0 | |
| Methods and Attributes | |||
|---|---|---|---|
| Name | Type | Since | Comment |
| getSVGDocument | method | 1.0 | |
Inherits from svg::SVGElement, svg::SVGStylable, svg::SVGLocatable, events::EventTarget.
| Methods and Attributes | |||
|---|---|---|---|
| Name | Type | Since | Comment |
| x | read-only attribute | 6.0 | |
| y | read-only attribute | 6.0 | |
| width | read-only attribute | 6.0 | |
| height | read-only attribute | 6.0 | |
| currentScale | attribute | 2.0 | settable since 3.0 |
| currentTranslate | read-only attribute | 2.0 | returns live object since 3.0 |
| forceRedraw | method | 4.0 | |
| pauseAnimations | method | 3.0 | |
| unpauseAnimations | method | 3.0 | |
| animationsPaused | method | 3.0 | |
| getCurrentTime | method | 3.0 | |
| setCurrentTime | method | 3.0 | |
| deselectAll | method | 3.0 | |
| createSVGPoint | method | 3.0 | |
| createSVGMatrix | method | 3.0 | |
| createSVGRect | method | 3.0 | |
| getElementById | method | 3.0 | implemented as SVGDocument::getElementById |
Inherits from svg::SVGElement, svg::SVGStylable, svg::SVGTransformable, events::EventTarget.
Inherits from svg::SVGElement, svg::SVGStylable, svg::SVGTransformable, events::EventTarget.
Inherits from svg::SVGElement, svg::SVGStylable.
Inherits from svg::SVGElement, svg::SVGStylable.
Inherits from svg::SVGElement, svg::SVGStylable, events::EventTarget.
Inherits from svg::SVGElement, svg::SVGURIReference, svg::SVGStylable, svg::SVGTransformable, events::EventTarget.
| Methods and Attributes | |||
|---|---|---|---|
| Name | Type | Since | Comment |
| x | read-only attribute | 6.0 | |
| y | read-only attribute | 6.0 | |
| width | read-only attribute | 6.0 | |
| height | read-only attribute | 6.0 | |
| animatedInstanceRoot | read-only attribute | 4.0 | |
Inherits from events::EventTarget.
| Methods and Attributes | |||
|---|---|---|---|
| Name | Type | Since | Comment |
| correspondingElement | read-only attribute | 4.0 | |
| correspondingUseElement | read-only attribute | 4.0 | |
| parentNode | read-only attribute | 4.0 | |
| firstChild | read-only attribute | 4.0 | |
| lastChild | read-only attribute | 4.0 | |
| previousSibling | read-only attribute | 4.0 | |
| nextSibling | read-only attribute | 4.0 | |
| getCTM | method | 4.0 | Adobe-proprietary |
Inherits from svg::SVGElement, svg::GetSVGDocument, svg::SVGURIReference, svg::SVGStylable, svg::SVGTransformable, events::EventTarget.
| Methods and Attributes | |||
|---|---|---|---|
| Name | Type | Since | Comment |
| x | read-only attribute | 6.0 | |
| y | read-only attribute | 6.0 | |
| width | read-only attribute | 6.0 | |
| height | read-only attribute | 6.0 | |
Inherits from svg::SVGElement, svg::SVGStylable, svg::SVGTransformable, events::EventTarget.
Inherits from svg::SVGElement, stylesheets::LinkStyle.
| Methods and Attributes | |||
|---|---|---|---|
| Name | Type | Since | Comment |
| x | attribute | 2.0 | |
| y | attribute | 2.0 | |
| matrixTransform | method | 3.0 | |
| Methods and Attributes | |||
|---|---|---|---|
| Name | Type | Since | Comment |
| a | attribute | 3.0 | |
| b | attribute | 3.0 | |
| c | attribute | 3.0 | |
| d | attribute | 3.0 | |
| e | attribute | 3.0 | |
| f | attribute | 3.0 | |
| multiply | method | 3.0 | |
| inverse | method | 3.0 | |
| translate | method | 3.0 | |
| scale | method | 3.0 | |
| scaleNonUniform | method | 3.0 | |
| rotate | method | 3.0 | |
| rotateFromVector | method | 3.0 | |
| flipX | method | 3.0 | |
| flipY | method | 3.0 | |
| skewX | method | 3.0 | |
| skewY | method | 3.0 | |
Inherits from svg::SVGElement, svg::SVGStylable, svg::SVGTransformable, events::EventTarget.
| Methods and Attributes | |||
|---|---|---|---|
| Name | Type | Since | Comment |
| getTotalLength | method | 3.0 | |
| getPointAtLength | method | 3.0 | |
Inherits from svg::SVGElement, svg::SVGStylable, svg::SVGTransformable, events::EventTarget.
| Methods and Attributes | |||
|---|---|---|---|
| Name | Type | Since | Comment |
| x | read-only attribute | 6.0 | |
| y | read-only attribute | 6.0 | |
| width | read-only attribute | 6.0 | |
| height | read-only attribute | 6.0 | |
| rx | read-only attribute | 6.0 | |
| ry | read-only attribute | 6.0 | |
Inherits from svg::SVGElement, svg::SVGStylable, svg::SVGTransformable, events::EventTarget.
| Methods and Attributes | |||
|---|---|---|---|
| Name | Type | Since | Comment |
| cx | read-only attribute | 6.0 | |
| cy | read-only attribute | 6.0 | |
| r | read-only attribute | 6.0 | |
Inherits from svg::SVGElement, svg::SVGStylable, svg::SVGTransformable, events::EventTarget.
| Methods and Attributes | |||
|---|---|---|---|
| Name | Type | Since | Comment |
| cx | read-only attribute | 6.0 | |
| cy | read-only attribute | 6.0 | |
| rx | read-only attribute | 6.0 | |
| ry | read-only attribute | 6.0 | |
Inherits from svg::SVGElement, svg::SVGStylable, svg::SVGTransformable, events::EventTarget.
| Methods and Attributes | |||
|---|---|---|---|
| Name | Type | Since | Comment |
| x1 | read-only attribute | 6.0 | |
| y1 | read-only attribute | 6.0 | |
| x2 | read-only attribute | 6.0 | |
| y2 | read-only attribute | 6.0 | |
Inherits from svg::SVGElement, svg::SVGStylable, svg::SVGTransformable, events::EventTarget.
Inherits from svg::SVGElement, svg::SVGStylable, svg::SVGTransformable, events::EventTarget.
| Methods and Attributes | |||
|---|---|---|---|
| Name | Type | Since | Comment |
| getNumberOfChars | method | 2.0 | |
| getComputedTextLength | method | 2.0 | |
| getSubStringLength | method | 2.0 | |
| getStartPositionOfChar | method | 2.0 | |
| getEndPositionOfChar | method | 2.0 | |
| getExtentOfChar | method | 2.0 | |
| getRotationOfChar | method | 2.0 | |
| getCharNumAtPosition | method | 2.0 | |
| selectSubString | method | 2.0 | |
| setCaretPosition | method | 6.0 | |
Inherits from svg::SVGElementInstance, svg::SVGTextContent.
As of now, this interface is Adobe proprietary, but it will be proposed to SVG WG
Inherits from svg::SVGElement, svg::SVGTextContent, svg::SVGStylable, events::EventTarget.
Inherits from svg::SVGTextContentElement.
Inherits from svg::SVGTextPositioningElement, svg::SVGTransformable.
Inherits from svg::SVGTextPositioningElement.
Inherits from svg::SVGTextPositioningElement, svg::SVGURIReference.
Inherits from svg::SVGTextContentElement, svg::SVGURIReference.
| Methods and Attributes | |||
|---|---|---|---|
| Name | Type | Since | Comment |
| startOffset | read-only attribute | 6.0 | |
Inherits from svg::SVGTextPositioningElement, svg::SVGURIReference.
Inherits from svg::SVGElement.
Inherits from svg::SVGElement, svg::SVGURIReference, svg::SVGStylable.
Inherits from svg::SVGElement, svg::SVGStylable.
| Methods and Attributes | |||
|---|---|---|---|
| Name | Type | Since | Comment |
| refX | read-only attribute | 6.0 | |
| refY | read-only attribute | 6.0 | |
| markerUnits | read-only attribute | 6.0 | |
| markerWidth | read-only attribute | 6.0 | |
| markerHeight | read-only attribute | 6.0 | |
Inherits from svg::SVGElement, svg::SVGURIReference, svg::SVGRenderingIntent.
Inherits from svg::SVGElement, svg::SVGURIReference, svg::SVGStylable, svg::SVGUnitTypes.
| Methods and Attributes | |||
|---|---|---|---|
| Name | Type | Since | Comment |
| gradientUnits | read-only attribute | 6.0 | |
| spreadMethod | read-only attribute | 6.0 | |
Inherits from svg::SVGGradientElement.
| Methods and Attributes | |||
|---|---|---|---|
| Name | Type | Since | Comment |
| x1 | read-only attribute | 6.0 | |
| y1 | read-only attribute | 6.0 | |
| x2 | read-only attribute | 6.0 | |
| y2 | read-only attribute | 6.0 | |
Inherits from svg::SVGGradientElement.
| Methods and Attributes | |||
|---|---|---|---|
| Name | Type | Since | Comment |
| cx | read-only attribute | 6.0 | |
| cy | read-only attribute | 6.0 | |
| r | read-only attribute | 6.0 | |
| fx | read-only attribute | 6.0 | |
| fy | read-only attribute | 6.0 | |
Inherits from svg::SVGElement, svg::SVGStylable.
| Methods and Attributes | |||
|---|---|---|---|
| Name | Type | Since | Comment |
| offset | read-only attribute | 6.0 | |
Inherits from svg::SVGElement, svg::SVGURIReference, svg::SVGStylable, svg::SVGUnitTypes.
| Methods and Attributes | |||
|---|---|---|---|
| Name | Type | Since | Comment |
| patternUnits | read-only attribute | 6.0 | |
| x | read-only attribute | 6.0 | |
| y | read-only attribute | 6.0 | |
| width | read-only attribute | 6.0 | |
| height | read-only attribute | 6.0 | |
Inherits from svg::SVGElement, svg::SVGStylable, svg::SVGTransformable, svg::SVGUnitTypes.
| Methods and Attributes | |||
|---|---|---|---|
| Name | Type | Since | Comment |
| clipPathUnits | read-only attribute | 6.0 | |
Inherits from svg::SVGElement, svg::SVGStylable, svg::SVGUnitTypes.
| Methods and Attributes | |||
|---|---|---|---|
| Name | Type | Since | Comment |
| maskUnits | read-only attribute | 6.0 | |
| x | read-only attribute | 6.0 | |
| y | read-only attribute | 6.0 | |
| width | read-only attribute | 6.0 | |
| height | read-only attribute | 6.0 | |
Inherits from svg::SVGElement, svg::SVGURIReference, svg::SVGStylable, svg::SVGUnitTypes.
| Methods and Attributes | |||
|---|---|---|---|
| Name | Type | Since | Comment |
| filterUnits | read-only attribute | 6.0 | |
| primitiveUnits | read-only attribute | 6.0 | |
| x | read-only attribute | 6.0 | |
| y | read-only attribute | 6.0 | |
| width | read-only attribute | 6.0 | |
| height | read-only attribute | 6.0 | |
| Methods and Attributes | |||
|---|---|---|---|
| Name | Type | Since | Comment |
| x | read-only attribute | 6.0 | |
| y | read-only attribute | 6.0 | |
| width | read-only attribute | 6.0 | |
| height | read-only attribute | 6.0 | |
| result | read-only attribute | 6.0 | |
Inherits from svg::SVGElement, svg::SVGFilterPrimitiveStandardAttributes.
| Methods and Attributes | |||
|---|---|---|---|
| Name | Type | Since | Comment |
| in1 | read-only attribute | 6.0 | |
| in2 | read-only attribute | 6.0 | |
| mode | read-only attribute | 6.0 | |
Inherits from svg::SVGElement, svg::SVGFilterPrimitiveStandardAttributes.
| Methods and Attributes | |||
|---|---|---|---|
| Name | Type | Since | Comment |
| in1 | read-only attribute | 6.0 | |
| type | read-only attribute | 6.0 | |
Inherits from svg::SVGElement, svg::SVGFilterPrimitiveStandardAttributes.
| Methods and Attributes | |||
|---|---|---|---|
| Name | Type | Since | Comment |
| in1 | read-only attribute | 6.0 | |
Inherits from svg::SVGElement.
| Methods and Attributes | |||
|---|---|---|---|
| Name | Type | Since | Comment |
| type | read-only attribute | 6.0 | |
| slope | read-only attribute | 6.0 | |
| intercept | read-only attribute | 6.0 | |
| amplitude | read-only attribute | 6.0 | |
| exponent | read-only attribute | 6.0 | |
| offset | read-only attribute | 6.0 | |
Inherits from svg::SVGComponentTransferFunctionElement.
Inherits from svg::SVGComponentTransferFunctionElement.
Inherits from svg::SVGComponentTransferFunctionElement.
Inherits from svg::SVGComponentTransferFunctionElement.
Inherits from svg::SVGElement, svg::SVGFilterPrimitiveStandardAttributes.
| Methods and Attributes | |||
|---|---|---|---|
| Name | Type | Since | Comment |
| in1 | read-only attribute | 6.0 | |
| in2 | read-only attribute | 6.0 | |
| operator | read-only attribute | 6.0 | |
| k1 | read-only attribute | 6.0 | |
| k2 | read-only attribute | 6.0 | |
| k3 | read-only attribute | 6.0 | |
| k4 | read-only attribute | 6.0 | |
Inherits from svg::SVGElement, svg::SVGFilterPrimitiveStandardAttributes.
| Methods and Attributes | |||
|---|---|---|---|
| Name | Type | Since | Comment |
| divisor | read-only attribute | 6.0 | |
| bias | read-only attribute | 6.0 | |
| targetX | read-only attribute | 6.0 | |
| targetY | read-only attribute | 6.0 | |
| edgeMode | read-only attribute | 6.0 | |
| preserveAlpha | read-only attribute | 6.0 | |
Inherits from svg::SVGElement, svg::SVGStylable, svg::SVGFilterPrimitiveStandardAttributes.
| Methods and Attributes | |||
|---|---|---|---|
| Name | Type | Since | Comment |
| in1 | read-only attribute | 6.0 | |
| surfaceScale | read-only attribute | 6.0 | |
| diffuseConstant | read-only attribute | 6.0 | |
Inherits from svg::SVGElement.
| Methods and Attributes | |||
|---|---|---|---|
| Name | Type | Since | Comment |
| azimuth | read-only attribute | 6.0 | |
| elevation | read-only attribute | 6.0 | |
Inherits from svg::SVGElement.
| Methods and Attributes | |||
|---|---|---|---|
| Name | Type | Since | Comment |
| x | read-only attribute | 6.0 | |
| y | read-only attribute | 6.0 | |
| z | read-only attribute | 6.0 | |
Inherits from svg::SVGElement.
| Methods and Attributes | |||
|---|---|---|---|
| Name | Type | Since | Comment |
| x | read-only attribute | 6.0 | |
| y | read-only attribute | 6.0 | |
| z | read-only attribute | 6.0 | |
| pointsAtX | read-only attribute | 6.0 | |
| pointsAtY | read-only attribute | 6.0 | |
| pointsAtZ | read-only attribute | 6.0 | |
| specularExponent | read-only attribute | 6.0 | |
| limitingConeAngle | read-only attribute | 6.0 | |
Inherits from svg::SVGElement, svg::SVGFilterPrimitiveStandardAttributes.
| Methods and Attributes | |||
|---|---|---|---|
| Name | Type | Since | Comment |
| in1 | read-only attribute | 6.0 | |
| in2 | read-only attribute | 6.0 | |
| scale | read-only attribute | 6.0 | |
| xChannelSelector | read-only attribute | 6.0 | |
| yChannelSelector | read-only attribute | 6.0 | |
Inherits from svg::SVGElement, svg::SVGStylable, svg::SVGFilterPrimitiveStandardAttributes.
| Methods and Attributes | |||
|---|---|---|---|
| Name | Type | Since | Comment |
| in1 | read-only attribute | 6.0 | |
Inherits from svg::SVGElement, svg::SVGFilterPrimitiveStandardAttributes.
| Methods and Attributes | |||
|---|---|---|---|
| Name | Type | Since | Comment |
| in1 | read-only attribute | 6.0 | |
Inherits from svg::SVGElement, svg::GetSVGDocument, svg::SVGURIReference, svg::SVGStylable, svg::SVGFilterPrimitiveStandardAttributes.
Inherits from svg::SVGElement, svg::SVGFilterPrimitiveStandardAttributes.
Inherits from svg::SVGElement.
| Methods and Attributes | |||
|---|---|---|---|
| Name | Type | Since | Comment |
| in1 | read-only attribute | 6.0 | |
Inherits from svg::SVGElement, svg::SVGFilterPrimitiveStandardAttributes.
| Methods and Attributes | |||
|---|---|---|---|
| Name | Type | Since | Comment |
| in1 | read-only attribute | 6.0 | |
| operator | read-only attribute | 6.0 | |
Inherits from svg::SVGElement, svg::SVGFilterPrimitiveStandardAttributes.
| Methods and Attributes | |||
|---|---|---|---|
| Name | Type | Since | Comment |
| in1 | read-only attribute | 6.0 | |
| dx | read-only attribute | 6.0 | |
| dy | read-only attribute | 6.0 | |
Inherits from svg::SVGElement, svg::SVGStylable, svg::SVGFilterPrimitiveStandardAttributes.
| Methods and Attributes | |||
|---|---|---|---|
| Name | Type | Since | Comment |
| in1 | read-only attribute | 6.0 | |
| surfaceScale | read-only attribute | 6.0 | |
| specularConstant | read-only attribute | 6.0 | |
| specularExponent | read-only attribute | 6.0 | |
Inherits from svg::SVGElement, svg::SVGFilterPrimitiveStandardAttributes.
| Methods and Attributes | |||
|---|---|---|---|
| Name | Type | Since | Comment |
| in1 | read-only attribute | 6.0 | |
Inherits from svg::SVGElement, svg::SVGFilterPrimitiveStandardAttributes.
| Methods and Attributes | |||
|---|---|---|---|
| Name | Type | Since | Comment |
| numOctaves | read-only attribute | 6.0 | |
| seed | read-only attribute | 6.0 | |
| stitchTiles | read-only attribute | 6.0 | |
| type | read-only attribute | 6.0 | |
Inherits from svg::SVGElement, svg::SVGURIReference.
| Methods and Attributes | |||
|---|---|---|---|
| Name | Type | Since | Comment |
| x | read-only attribute | 6.0 | |
| y | read-only attribute | 6.0 | |
Inherits from svg::SVGElement, svg::SVGURIReference, svg::SVGStylable, svg::SVGTransformable, events::EventTarget.
| Methods and Attributes | |||
|---|---|---|---|
| Name | Type | Since | Comment |
| target | read-only attribute | 6.0 | |
Inherits from svg::SVGElement, svg::SVGURIReference.
| Methods and Attributes | |||
|---|---|---|---|
| Name | Type | Since | Comment |
| type | attribute | 6.0 | |
Inherits from svg::SVGElement, smil::ElementTimeControl, events::EventTarget.
Inherits from svg::SVGAnimationElement.
Inherits from svg::SVGAnimationElement.
Inherits from svg::SVGAnimationElement.
Inherits from svg::SVGAnimationElement.
Inherits from svg::SVGAnimationElement.
Inherits from svg::SVGElement, svg::SVGStylable.
Inherits from svg::SVGElement, svg::SVGStylable.
Inherits from svg::SVGElement, svg::SVGStylable.
Inherits from svg::SVGElement.
Inherits from svg::SVGElement.
Inherits from svg::SVGElement.
Inherits from svg::SVGElement.
Inherits from svg::SVGElement.
Inherits from svg::SVGElement.
Inherits from svg::SVGElement.
Inherits from svg::SVGElement, svg::SVGStylable, svg::SVGTransformable, events::EventTarget.
| Methods and Attributes | |||
|---|---|---|---|
| Name | Type | Since | Comment |
| x | read-only attribute | 6.0 | |
| y | read-only attribute | 6.0 | |
| width | read-only attribute | 6.0 | |
| height | read-only attribute | 6.0 | |
Inherits from svg::SVGElement, svg::SVGStylable, svg::SVGTransformable, events::EventTarget.
Inherits from svg::SVGElement, svg::SVGStylable, svg::SVGTransformable, events::EventTarget.
Inherits from svg::SVGElement, svg::SVGStylable, svg::SVGTransformable, events::EventTarget.
Inherits from svg::SVGTextPositioningElement, svg::SVGTransformable.
Inherits from svg::SVGTextPositioningElement.
Inherits from svg::SVGTextPositioningElement.
Inherits from svg::SVGTextPositioningElement.
Inherits from svg::SVGTextPositioningElement.
Inherits from svg::SVGTextPositioningElement.
Inherits from svg::SVGTextPositioningElement.
Inherits from svg::SVGElement, events::EventTarget.
Inherits from svg::SVGElement, svg::SVGURIReference, events::EventTarget.
Inherits from svg::SVGElement, events::EventTarget.
Inherits from svg::SVGElement, svg::SVGStylable, svg::SVGTransformable, events::EventTarget.
| Methods and Attributes | |||
|---|---|---|---|
| Name | Type | Since | Comment |
| getElementById | method | 6.0 | |
Inherits from svg::SVGElement, svg::SVGStylable, svg::SVGTransformable, events::EventTarget.
| Methods and Attributes | |||
|---|---|---|---|
| Name | Type | Since | Comment |
| shadowTree | read-only attribute | 6.0 | |
| setShadowTree | method | 6.0 | |
Inherits from svg::SVGElement, svg::SVGAnimationElement.
Inherits from svg::SVGElement, svg::SVGAnimationElement, svg::SVGStylable, svg::SVGTransformable.
Inherits from dom::ProcessingInstruction, stylesheets::LinkStyle.
Inherits from svg::SVGElement, svg::SVGStylable, svg::SVGTransformable, events::EventTarget.
Inherits from svg::SVGTextPositioningElement, svg::SVGTransformable.
Inherits from svg::SVGElement, svg::SVGStylable, svg::SVGTransformable, events::EventTarget.
Inherits from svg::SVGElement, svg::SVGStylable, svg::SVGTransformable, events::EventTarget.
Inherits from svg::SVGElement, svg::SVGStylable, svg::SVGTransformable, events::EventTarget.
Inherits from events::UIEvent.
| Methods and Attributes | |||
|---|---|---|---|
| Name | Type | Since | Comment |
| screenX | read-only attribute | 4.0 | |
| screenY | read-only attribute | 4.0 | |
| clientX | read-only attribute | 4.0 | |
| clientY | read-only attribute | 4.0 | |
| ctrlKey | read-only attribute | 4.0 | |
| shiftKey | read-only attribute | 4.0 | |
| altKey | read-only attribute | 4.0 | |
| metaKey | read-only attribute | 4.0 | |
| accept | method | 4.0 | |
| hasDataType | method | 4.0 | |
| getData | method | 4.0 | |
| getDataURL | method | 4.0 | |
| copyToClipboard | method | 4.0 | |
Inherits from events::Event.
| Methods and Attributes | |||
|---|---|---|---|
| Name | Type | Since | Comment |
| info | read-only attribute | 4.0 | |
All interfaces in this module are specific to Adobe SVG Viewer
| Methods and Attributes | |||
|---|---|---|---|
| Name | Type | Since | Comment |
| text | read-only attribute | 4.0 | |
| firstElement | read-only attribute | 4.0 | |
| firstElementInstance | read-only attribute | 4.0 | |
| firstIndex | read-only attribute | 4.0 | |
| lastElement | read-only attribute | 4.0 | |
| lastElementInstance | read-only attribute | 4.0 | |
| lastIndex | read-only attribute | 4.0 | |
| Methods and Attributes | |||
|---|---|---|---|
| Name | Type | Since | Comment |
| success | read-only attribute | 3.0 | |
Inherits from viewer::AsyncStatus.
Object of this type is passed to AsyncStatusCallback::operationComplete
| Methods and Attributes | |||
|---|---|---|---|
| Name | Type | Since | Comment |
| contentType | read-only attribute | 3.0 | |
| content | read-only attribute | 3.0 | |
JavaScript function can be used as object of this type
| Methods and Attributes | |||
|---|---|---|---|
| Name | Type | Since | Comment |
| operationComplete | method | 3.0 | |
| Methods and Attributes | |||
|---|---|---|---|
| Name | Type | Since | Comment |
| appName | read-only attribute | 3.0 | returns 'Adobe SVG Viewer' |
| appVersion | read-only attribute | 3.0 | returns SVG Viewer version |
| platform | read-only attribute | 3.0 | |
| Methods and Attributes | |||
|---|---|---|---|
| Name | Type | Since | Comment |
| run | method | 6.0 | |
| Methods and Attributes | |||
|---|---|---|---|
| Name | Type | Since | Comment |
| delay | attribute | 6.0 | |
| interval | attribute | 6.0 | |
| start | method | 6.0 | |
| stop | method | 6.0 | |
| addHandler | method | 6.0 | |
| removeHandler | method | 6.0 | |
Inherits from viewer::GlobalObject.
Window object provides a global object for scripts embedded in SVG document
| Methods and Attributes | |||
|---|---|---|---|
| Name | Type | Since | Comment |
| document | read-only attribute | 3.0 | SVG document |
| parent | read-only attribute | 3.0 | Parent (HTML or SVG) window object |
| svgDocument | read-only attribute | 3.0 | alias for document |
| window | read-only attribute | 3.0 | Window object itself |
| navigator | read-only attribute | 3.0 | Viewer's (not browser's) Navigator object |
| evt | read-only attribute | 3.0 | |
| status | attribute | 3.0 | |
| defaultStatus | attribute | 3.0 | |
| contextMenu | read-only attribute | 3.0 | Modifiable XML representation of viewer's context menu |
| instanceName | attribute | 3.0 | |
| defaultAntialias | attribute | 3.0 | |
| defaultFontSize | attribute | 3.0 | |
| defaultFontFamily | attribute | 3.0 | |
| innerWidth | read-only attribute | 3.0 | Viewport width in pixels |
| innerHeight | read-only attribute | 3.0 | Viewport height in pixels |
| selection | read-only attribute | 4.0 | currently selected elements |
| setTimeout | method | 3.0 | |
| clearTimeout | method | 3.0 | |
| setInterval | method | 3.0 | |
| clearInterval | method | 3.0 | |
| alert | method | 3.0 | |
| confirm | method | 3.0 | |
| close | method | 3.0 | Has no effect in browser environment |
| setSrc | method | 3.0 | |
| getSrc | method | 3.0 | |
| reload | method | 3.0 | |
| focus | method | 3.0 | |
| blur | method | 3.0 | |
| browserEval | method | 3.0 | |
| findInstanceByName | method | 3.0 | |
| printNode | method | 3.0 | Convert XML node to a string |
| parseXML | method | 3.0 | Convert a string to XML node |
| postURL | method | 3.0 | Post data to a given URL |
| getURL | method | 3.0 | Get data from a given URL |
| disableAutoUpdate | method | 3.0 | |
| getSVGViewerVersion | method | 3.0 | |
| evalScript | method | 4.0 | evaluate script in this or other script engine |
| trace | method | 4.0 | internal tracing method |
| startSimpleDnD | method | 4.0 | initiate simple drag-n-drop operation |
| setTextInputHint | method | 4.0 | set up text input position (i.e for IME) |
| captureMouse | method | 6.0 | |
| createTimer | method | 6.0 | |
| createInterval | method | 6.0 | |
This section describes the status of support for SVG features that are unrelated to SVG elements, attributes, properties, or the DOM.
SVG images are more accessible than raster image formats (like JPEG and GIF) because SVG is a text format that contains descriptive sections that can be read aloud by other reader programs. To help improve visibility of SVG graphics, Adobe SVG Viewer supports user style sheets, which allows a user to over-ride the font size, colors, etc. of all SVG graphics. To make it easier to interact with SVG images, the keyboard arrow keys on Windows systems may be used to scroll the image when the "Scroll Lock" key is enabled.
Adobe SVG Viewer looks for the user style sheet file named SVG-User-Styles.css, according to the following search strategy:
| Platform | Locations Searched, in order |
| Windows XP and 2000 |
|
| Windows 98 |
|
| Windows NT |
|
| Macintosh OS/X |
|
| Macintosh OS 9.x (multi-user) |
|
| Macintosh OS 9.x (single-user) |
|
| Macintosh OS 8.x |
|
| Unix |
|
gzip/zlib compression is supported. If you export an SVG file in SVGZ format from Adobe Illustrator®, or gzip an SVG file, Adobe SVG Viewer will automatically decompress it before displaying it. In addition, any externally referenced files (such as raster images, fonts, scripts, CSS style sheets, etc.) can be gzip-compressed as of version 3.0.
The "data" pseudo-protocol (RFC 2397) is supported. In this way, a single SVG file may contain embedded versions of all of its binary resources. A gzipped version of such an SVG file (".svgz") is an effective way to package an entire SVG application along with all of its resources.
Both the HTML <embed> and <object> tags are supported, but due to browser limitations use of the <object> tag is discouraged. Additional options for embedding SVG in HTML files are described in the extensions section, below.
Both SVG and CEF font formats are supported for embedded fonts, and native platform fonts are also supported on all platforms. Because SVG fonts are not hinted, they won't be as readable at smaller point sizes as CEF fonts or most system fonts. Because of differences in fonts on different platforms and localizations, the most reliable way to insure reproducible text appearance while maintaining readability is to use CEF fonts. Adobe Illustrator can create SVG files with CEF fonts. Even though CEF is a publicly documented font format, it is not part of the SVG standard, so the most standard-compliant way to use fonts in SVG files in a way that will work well across different platforms is to use SVG fonts.
This table lists the default system fonts used in each localization of Adobe SVG Viewer:
| Language | Macintosh | Windows |
| English | Helvetica | ArialMT |
| French | Helvetica | ArialMT |
| German | Helvetica | ArialMT |
| Japanese | Osaka | MS-Gothic |
| Spanish | Helvetica | ArialMT |
| Italian | Helvetica | ArialMT |
| Swedish | Helvetica | ArialMT |
| Dutch | Helvetica | ArialMT |
| Danish | Helvetica | ArialMT |
| Finish | Helvetica | ArialMT |
| Norwegian | Helvetica | ArialMT |
| Brazilian Portuguese | Helvetica | ArialMT |
| Simplified Chinese | Beijing | SimSun |
| Traditional Chinese | Taipei | MingLiu |
| Korean | Seoul | Gulim |
The final SVG 1.0 specification MIME type for SVG is image/svg+xml. Earlier versions of Adobe SVG Viewer supported MIME types from earlier drafts of the specification (image/svg and image/svg-xml).
The following namespaces are supported:
http://www.w3.org/2000/svg
http://www.w3.org/2000/svg-20000303-stylable [deprecated]
http://www.w3.org/XML/1998/namespace
http://www.w3.org/2000/xmlns/
http://www.w3.org/1999/xlink
http://www.w3.org/TR/REC-smil
http://www.w3.org/2001/SMIL20/
http://www.w3.org/1999/xhtml
http://www.w3.org/2001/xml-events
http://www.adobe.com/svg10-extensions [deprecated]
http://ns.adobe.com/AdobeSVGViewerExtensions/2.0/ [deprecated]
http://ns.adobe.com/AdobeSVGViewerExtensions/3.0/ [deprecated]
http://ns.adobe.com/AdobeSVGViewerExtensions/4.0/ [deprecated]
http://ns.adobe.com/AdobeSVGViewerExtensions/5.0/ [deprecated]
http://ns.adobe.com/AdobeSVGViewerExtensions/
The Adobe SVG Viewer extension namespaces are described below. Unrecognized namespaces are ignored, but elements and attributes in unrecognized namespaces are still accessible via the DOM.
Adobe SVG Viewer can improve the performance of some animations by generating sprites on demand during rendering. To invoke
this functionality, you need to specify shape-rendering="optimizeSpeed" on any SVG graphics that you want to use
sprites. Additionally, if there's text in the set of elements to be put in a sprite, you will need to also add either
text-rendering="optimizeSpeed" or text-rendering="optimizeLegibility". Since these settings have the
additional effect of reducing quality (e.g. eliminating anti-aliasing), SVG authors will need to decide where it is acceptable
to use these settings. There are a number of other conditions that will prevent a particular element from being drawn in a
sprite:
Printing from the web browsers is currently done by spooling a raster image at or near print resolution. The resolution used when printing can be controlled with a processing instruction as documented below.
The following Unicode encodings are supported: UTF-8, UTF-16, ISO-8859-1, and us-ascii. UTF-8 will generally provide the best performance, especially when dealing primarily with Roman character sets.
Document, predefined, character, and internal entities are supported and parsed into their replacement text as the DOM is constructed. However, parameter, external, and unparsed entities are not supported.
This section documents extensions to the SVG language supported by Adobe SVG Viewer.
The only non-standard processing instruction currently recognized is
AdobeSVGViewer. If present it must appear before the root <svg> element. This processing
instruction supports the following optional attribute-like parameters:
| Option | Notes |
| resolution | This specifies the minimal rendering resolution when rasterization is required (e.g. for printing and ActiveX embedding in Microsoft Office). The value should be a number, which is interpreted as dots per inch. |
| save | Valid values are:
|
Sample usage: <?AdobeSVGViewer resolution="300" save="disable"?>
Adobe SVG Viewer supports additional elements and attributes defined in Adobe SVG Viewer extension namespaces. Each release
of Adobe SVG Viewer supported a new namespace which encompassed the extensions introduced in all previous Adobe SVG Viewer
namespaces. For example, even though the audio element first appeared in
http://www.adobe.com/svg10-extensions, it may be used in any subsequent Adobe SVG Viewer extension namespace
(i.e. http://ns.adobe.com/AdobeSVGViewerExtensions/2.0/ through
http://ns.adobe.com/AdobeSVGViewerExtensions/). New releases of Adobe SVG Viewer after version 6.0 will no
longer define new namespaces; instead, the namespace http://ns.adobe.com/AdobeSVGViewerExtensions/ will be extended
if necessary. In this document elements and attributes in an Adobe SVG Viewer extension namespace are shown with the "a:" prefix
for consistency with Illustrator's SVG files, but Adobe SVG Viewer will recognize a different prefix if the namespace is defined
that way in an SVG file.
Here is a list of the Adobe SVG Viewer extension namespaces:
This table lists the elements and attributes supported in the Adobe extension namespaces. One of the namespaces above must be
defined on the top-most <svg> element, but in general you should just use the most recent namespace. For
consistency with Illustrator the table below assumes that the namespace has been assigned to the prefix "a", but any prefix may
be used that is not yet bound to a namespace.
| Element/attribute | Since | Notes |
| a:adobe-knockout | 3.0 | Presentation attribute versions of the CSS property extensions described below. |
| a:adobe-opacity-share | 3.0 | |
| a:adobe-stroke-opacity-share | 3.0 | |
| a:adobe-fill-opacity-share | 3.0 | |
| a:adobe-blending-mode | 3.0 | |
| <a:animateClock> | 2.0 | This element works similarly to the other animation elements in SVG, but allows you to
controls the clock on a time container or an animation element. Use the 'to' attribute to set an absolute time value. Use the
'by' attribute to set a relative time value. If you change an animation element's clock you change its begin time such that the
portion of the animation that is being displayed is offset into the animation by the clock amount. For example, at t=20s let's
say an animation is running that started at 10s. Now, to="5s" would set the begin time to 15s;
to="-5s" would set begin to 25s (to start in the future); by="5s" would set the begin time to 5s (fast
forward by 5s); and by="-5s" would set begin to 15s (rewind by five seconds). Note that there are no 'from' or
'values' attributes. |
| a:attributeNS | 1.0 | This attribute may appear on animation elements. The SVG specification does not provide a way for animation elements to animate elements in other name spaces without specifying a namespace prefix. This attribute allows animation elements to specify animations that animate attributes in other namespaces without specifying the prefix so that the prefix for that namespace may be changed without modifying the animators. |
| <a:audio> | 1.0 | An implementation of the SMIL 2 audio element. MP3 and WAV files are supported on Windows and Macintosh platforms only. |
| <a:audio3d> | 2.0 | Similar to <a:audio>, but supports 3D sound via the Windows DirectSound API. Supported only on Windows. |
| a:cacheIntermediateImage | 2.0 | This attribute may appear on any filter effect node element. It instructs the filter effect engine to cache the result of that filter node, and may be used in certain circumstances within complicated filter effects to help improve rendering performance at the cost of memory. |
| <a:param> | 4.0 | A partial implementation of the SMIL 2 param element. |
| a:pause | 2.0 | This attribute may appear on <svg> elements, and indicates
whether the contained animations are paused. Valid values are "all", "none", or "dependents". "dependants" indicates that independant
timelines (see a:timeline) should not be paused. |
| a:scriptImplementation | 3.0 | This attribute may appear on <svg> or
<script> elements, and indicates which script engine to use. Valid values are "Adobe", "browser" (the
default), "Microsoft", or "Netscape". If "Adobe" is specified, the Adobe internal script engine is used when executing scripts;
this provides for platform consistency, but doesn't allow scipts to share the browser environment. The Adobe internal script
engine supports JavaScript 1.5. Note that
Internet Explorer on the Macintosh does not provide a way for plug-ins to access its script engine, so on that platform the
default is "Adobe". If a value other than "Adobe" is specified and the host browser doesn't provide a technology for allowing
plug-ins to access its script engine, then the script will not execute. Each script element can have a different value for this
attribute and therefore potentially run with different script engines and environments, but event handlers use the script engine
specified by the value of this attribute on the root <svg> element. |
| a:timeline | 2.0 | This attribute may appear on <svg> elements. Valid values are "independent" or
"inherit". The SMIL animation specification does not provide a way for a child animation to have a timeline that is independent
from its parent's timeline. This extension overcomes that limitation by allowing nested <svg> elements to
have independent timelines. |
| a:timelineModel | 5.0 | This attribute may appear on the top-most <svg>
element. Valid values are "Adobe" or "default". If the value is "Adobe", then the animation timeline is suspended while
preparing SMIL transitions. This guarantees that slides are presented for the alotted minimum amount of time, no matter how slow
the network connection or complicated the graphics. |
| a:transIn | 4.0 | This attribute is a partial implementation of the SMIL 2 transIn attribute. It may appear on any
<animate> or <set> element that is animating the xlink:href attribute of a
<use> element. The a:transIn attribute is a list of the a:transition element ids whose
transitions should occur when changing the graphics from the old value to the new. The transition used is the first supported transition
found in the list. |
| <a:transition> | 4.0 | A partial implementation of the SMIL 2 transition element. Supported transition types are documented below. |
| <a:video> | 4.0 | An implementation of the SMIL 2 video element. On Windows, Adobe SVG Viewer supports all video formats supported by Windows Media Player or QuickTime. On Macintosh systems, Adobe SVG Viewer supports all video formats supported by QuickTime. Video is not supported on Unix platforms. |
Here are DTD fragments for the Adobe SVG Viewer extension elements:
<!-- This DTD is formulated under the expectation that a parent
DTD will set up the following entities:
NSPREFIX-AV (Namespace prefix for this namespace, such as "a:")
XMLNS-NSPREFIX-AV (Colon in front for xmlns declaration, such as "xmlns:a")
and then include this DTD via reference. -->
<!ENTITY % AdobeSVGViewerNamespaceDeclaration
"%XMLNS-NSPREFIX-AV; CDATA #FIXED 'http://ns.adobe.com/AdobeSVGViewerExtensions/' ">
<!ENTITY % URI "CDATA" >
<!ENTITY % Script "CDATA" >
<!ENTITY % number "CDATA" >
<!ENTITY % animateClockElement "%NSPREFIX-AV;animateClock" >
<!ELEMENT %animateClockElement; (desc|title|metadata)* >
<!ATTLIST %animateClockElement;
%AdobeSVGViewerNamespaceDeclaration;
id ID #IMPLIED
xml:base %URI; #IMPLIED
onbegin %Script; #IMPLIED
onend %Script; #IMPLIED
onrepeat %Script; #IMPLIED
xmlns:xlink CDATA #FIXED 'http://www.w3.org/1999/xlink'
xlink:type (simple) #FIXED 'simple'
xlink:role %URI; #IMPLIED
xlink:arcrole %URI; #IMPLIED
xlink:title CDATA #IMPLIED
xlink:show (other) 'other'
xlink:actuate (onLoad) #FIXED 'onLoad'
xlink:href %URI; #IMPLIED
begin CDATA #IMPLIED
dur CDATA #IMPLIED
end CDATA #IMPLIED
restart (always | never | whenNotActive) 'always'
to CDATA #IMPLIED
by CDATA #IMPLIED
additive (replace | sum) 'replace'
repeatCount CDATA #IMPLIED
repeatDur CDATA #IMPLIED
fill (remove | freeze) 'remove'" >
<!ENTITY % audioElement "%NSPREFIX-AV;audio" >
<!ELEMENT %audioElement; (desc|title|metadata)* >
<!ATTLIST %audioElement;
%AdobeSVGViewerNamespaceDeclaration;
id ID #IMPLIED
xml:base %URI; #IMPLIED
onbegin %Script; #IMPLIED
onend %Script; #IMPLIED
onrepeat %Script; #IMPLIED
xmlns:xlink CDATA #FIXED 'http://www.w3.org/1999/xlink'
xlink:type (simple) #FIXED 'simple'
xlink:role %URI; #IMPLIED
xlink:arcrole %URI; #IMPLIED
xlink:title CDATA #IMPLIED
xlink:show (other) 'other'
xlink:actuate (onLoad) #FIXED 'onLoad'
xlink:href %URI; #IMPLIED
begin CDATA #IMPLIED
dur CDATA #IMPLIED
end CDATA #IMPLIED
restart (always | never | whenNotActive) 'always'
repeatCount CDATA #IMPLIED
repeatDur CDATA #IMPLIED
fill (remove | freeze) 'remove'
volume %number; #IMPLIED
pan %number; #IMPLIED >
<!ENTITY % audio3dElement "%NSPREFIX-AV;audio3d" >
<!ELEMENT %audio3dElement; (desc|title|metadata)* >
<!ATTLIST %audio3dElement;
%AdobeSVGViewerNamespaceDeclaration;
id ID #IMPLIED
xml:base %URI; #IMPLIED
onbegin %Script; #IMPLIED
onend %Script; #IMPLIED
onrepeat %Script; #IMPLIED
xmlns:xlink CDATA #FIXED 'http://www.w3.org/1999/xlink'
xlink:type (simple) #FIXED 'simple'
xlink:role %URI; #IMPLIED
xlink:arcrole %URI; #IMPLIED
xlink:title CDATA #IMPLIED
xlink:show (other) 'other'
xlink:actuate (onLoad) #FIXED 'onLoad'
xlink:href %URI; #IMPLIED
begin CDATA #IMPLIED
dur CDATA #IMPLIED
end CDATA #IMPLIED
restart (always | never | whenNotActive) 'always'
repeatCount CDATA #IMPLIED
repeatDur CDATA #IMPLIED
fill (remove | freeze) 'remove'
volume %number; #IMPLIED
x %number; #IMPLIED
y %number; #IMPLIED
z %number; #IMPLIED
vx %number; #IMPLIED
vy %number; #IMPLIED
vz %number; #IMPLIED
dopplerFactor %number; #IMPLIED
rolloffFactor %number; #IMPLIED >
<!ELEMENT %paramElement; (desc|title|metadata) >
<!ATTLIST %paramElement;
name NMTOKEN #REQUIRED
value CDATA #REQUIRED >
<!ENTITY % transitionElement "%NSPREFIX-AV;transition" >
<!ELEMENT %transitionElement; (param|desc|title|metadata) >
<!ATTLIST %transitionElement;
%stdAttrs;
type NMTOKEN #IMPLIED
subtype NMTOKEN #IMPLIED
dur CDATA #IMPLIED
startProgress CDATA #IMPLIED
endProgress CDATA #IMPLIED
direction (forward|reverse) #IMPLIED
fadeColor (%Paint;) #IMPLIED >
<!ENTITY % videoElement "%NSPREFIX-AV;video" >
<!ELEMENT %videoElement; (desc|title|metadata)* >
<!ATTLIST %videoElement;
%AdobeSVGViewerNamespaceDeclaration;
id ID #IMPLIED
xml:base %URI; #IMPLIED
onbegin %Script; #IMPLIED
onend %Script; #IMPLIED
onrepeat %Script; #IMPLIED
xmlns:xlink CDATA #FIXED 'http://www.w3.org/1999/xlink'
xlink:type (simple) #FIXED 'simple'
xlink:role %URI; #IMPLIED
xlink:arcrole %URI; #IMPLIED
xlink:title CDATA #IMPLIED
xlink:show (other) 'other'
xlink:actuate (onLoad) #FIXED 'onLoad'
xlink:href %URI; #IMPLIED
begin CDATA #IMPLIED
dur CDATA #IMPLIED
end CDATA #IMPLIED
restart (always | never | whenNotActive) 'always'
repeatCount CDATA #IMPLIED
repeatDur CDATA #IMPLIED
fill (remove | freeze) 'remove'
volume %number; #IMPLIED
x %Coordinate; #IMPLIED
y %Coordinate; #IMPLIED
width %Length; #IMPLIED
height %Length; #IMPLIED
preserveAspectRatio %PreserveAspectRatioSpec; 'xMidYMid meet' >
This table lists the transition types supported.
| Transition | type attribute | subtype attribute | subtype attribute | <param> attributes |
| Blinds Horizontal | barWipe | topToBottom | forward | sections |
| Blinds Vertical | barWipe | leftToRight | forward | sections |
| Box In | irisWipe | rectangle | reverse | |
| Box Out | irisWipe | rectangle | forward | |
| Dissolve | glitter | random | forward | cellSize |
| Glitter Down | glitter | topToBottom | forward | cellSize |
| Glitter Right | glitter | leftToRight | forward | cellSize |
| Glitter Right-Down | glitter | topLeft | forward | cellSize |
| No Transition | none | |||
| Random Transition | random | |||
| Replace | replace | |||
| Split Horizontal In | barnDoorWipe | horizontal | reverse | |
| Split Horizontal Out | barnDoorWipe | horizontal | forward | |
| Split Vertical In | barnDoorWipe | vertical | reverse | |
| Split Vertical Out | barnDoorWipe | vertical | forward | |
| Wipe Down | barWipe | topToBottom | forward | |
| Wipe Right | barWipe | leftToRight | forward | |
| Wipe Left | barWipe | leftToRight | reverse | |
| Wipe Up | barWipe | topToBottom | reverse | |
| Opacity Fade | fade | crossFade | forward |
This table lists the default sub-types for transition types.
| Type | Default subtype |
| barWipe | leftToRight |
| irisWipe | rectangle |
| glitter | random |
| barnDoorWipe | horizontal |
| fade | crossFade |
| Property | Since | Notes |
| adobe-knockout | 3.0 | Adobe custom property for supporting the Adobe Transparency Model. Valid values are true and false. |
| adobe-opacity-share | 3.0 | Adobe custom property for supporting the Adobe Transparency Model. Valid values are 0 and 1. |
| adobe-stroke-opacity-share | 3.0 | Adobe custom property for supporting the Adobe Transparency Model. Valid values are 0 and 1. |
| adobe-fill-opacity-share | 3.0 | Adobe custom property for supporting the Adobe Transparency Model. Valid values are 0 and 1. |
| adobe-blending-mode | 3.0 | Adobe custom property for supporting the Adobe Transparency Model. Valid values are normal, multiply, screen, difference, darken, lighten, colordodge, colorburn, exclusion, hardlight, overlay, softlight, luminosity, hue, saturation, color, and compatibleoverprint |
The Viewer DOM module extension provides several useful functions. It creates a bridge between the Adobe SVG Viewer's script engine and its HTML browser host application's script engine, which allows you to have scripts in your HTML file which modify the SVG DOM, and vice-versa. The Viewer module also provides access to "user agent" services such as XML parsing services, and HTTP services. These allow SVG applications to, for example, post queries to a server and parse the XML results of that query. The Viewer module also provides Adobe SVG Viewer version information, and provides methods for modifying the context menu. Many other interfaces specific to Adobe SVG Viewer are available through the Viewer module, documented above.
The DOM member Window::contextMenu is an XML document that represents Adobe SVG Viewer's context menu. Any
change to this document will be reflected in the context menu when it pops up. The document's root element must be a
<menu> element. The following elements are allowed inside of a <menu> element:
| Element | Notes |
| <header> | Menu header; most operating systems ignore this. Any text content of this element will be visible on the menu on systems that support menu headers. |
| <item> | A menu item. Any text content of this element will be visible as the item's text; the character "&" designates that the next character is the hot key. |
| <separator> | A separator bar. |
| <menu> | A submenu; some systems can flatten submenus. |
<item> elements can have the following attributes:
| Attribute | Notes |
| action | The system action that this item will invoke if activated. |
| onactivate | The script that gets executed when this item is activated. |
| checked | Can be either "yes" or "no"; will cause a checkmark be drawn next to this item if "yes". |
| display | Can be either "inline" or "none"; if "none" this item is ignored. |
| enabled | Can be either "yes" or "no"; if "no" this item is visible, but cannot be selected. |
Supported system actions are:
It is stongly recommended to have an 'About' action in the context menu. Menus without an 'About' action may get ignored by Adobe SVG Viewer.
With version 3 and higher, the Windows ActiveX control may be invoked in a transparent mode which allows you to overlay SVG
on top of other web page content. To invoke Adobe SVG Viewer in this mode, add the attribute wmode="transparent" to the embed
tag. Other values for the wmode attribute include "windowed", which is the default opaque (and faster) mode, and "opaque", which is
like windowed except that it supports z-order. Note that transparent ActiveX controls take more time to draw than opaque ones.
Microsoft Binary Behaviors are also supported on Windows in IE 5.5 and higher. This allows you to include SVG elements
directly inside of the HTML document structure. Here is a sample HTML file with SVG binary behavior:
<HTML xmlns:svg="http://www.w3.org/2000/svg">
<object id="AdobeSVG"
CLASSID="clsid:78156a80-c6a1-4bbf-8e6a-3cd390eeb4e2">
</object>
<?import namespace="svg" implementation="#AdobeSVG"?>
<HTML>
<!-- Copyright 2000 Adobe Systems. You may copy, modify,
and distribute this file, if you include this notice and
do not charge for the distribution. This file is provided
"AS-IS" without warranties of any kind, including any
implied warranties.
-->
<HEAD>
<TITLE>Stars and Stripes</TITLE>
</HEAD>
<BODY BGCOLOR="#EEEEEE">
<H1>Animated SVG Example</H1>
<svg:svg width="400" height="240" viewBox="0 0 1000 600">
<svg:g transform="translate(10 60)">
<svg:defs>
<svg:rect id="r" width="900" height="40" style="fill:#dd0000" shape-rendering="optimizeSpeed"/>
<svg:rect id="w" width="900" height="40" style="fill:white" shape-rendering="optimizeSpeed"/>
<svg:polygon id="s" style="fill:white;fill-rule:nonzero;"
points="0,-14 8.229,11.326 -13.315,-4.326 13.315,-4.326 -8.229,11.326">
<svg:animateTransform attributeName="transform" type="rotate" values="0;360" dur="3s" repeatDur="indefinite" />
</svg:polygon>
<svg:g id="6">
<svg:use xlink:href="#s" x="20"/>
<svg:use xlink:href="#s" x="90"/>
<svg:use xlink:href="#s" x="150"/>
<svg:use xlink:href="#s" x="210"/>
<svg:use xlink:href="#s" x="270"/>
<svg:use xlink:href="#s" x="330"/>
</svg:g>
<svg:g id="5">
<svg:use xlink:href="#s" x="60"/>
<svg:use xlink:href="#s" x="120"/>
<svg:use xlink:href="#s" x="180"/>
<svg:use xlink:href="#s" x="240"/>
<svg:use xlink:href="#s" x="300"/>
</svg:g>
</svg:defs>
<svg:use xlink:href="#r"/>
<svg:use xlink:href="#w" y="40"/>
<svg:use xlink:href="#r" y="80"/>
<svg:use xlink:href="#w" y="120"/>
<svg:use xlink:href="#r" y="160"/>
<svg:use xlink:href="#w" y="200"/>
<svg:use xlink:href="#r" y="240"/>
<svg:use xlink:href="#w" y="280"/>
<svg:use xlink:href="#r" y="320"/>
<svg:use xlink:href="#w" y="360"/>
<svg:use xlink:href="#r" y="400"/>
<svg:use xlink:href="#w" y="440"/>
<svg:use xlink:href="#r" y="480"/>
<svg:rect id="b" width="360" height="280" style="fill:#000088" shape-rendering="optimizeSpeed"/>
<svg:rect id="border" width="900" height="520" style="fill:none;stroke:black;stroke-width:0.85"/>
<svg:g transform="translate(4.5 0)">
<svg:use xlink:href="#6" y="20"/>
<svg:use xlink:href="#5" y="50"/>
<svg:use xlink:href="#6" y="80"/>
<svg:use xlink:href="#5" y="110"/>
<svg:use xlink:href="#6" y="140"/>
<svg:use xlink:href="#5" y="170"/>
<svg:use xlink:href="#6" y="200"/>
<svg:use xlink:href="#5" y="230"/>
<svg:use xlink:href="#6" y="260"/>
</svg:g>
</svg:g>
</svg:svg>
</HTML>
Adobe SVG Viewer preferences are stored in the following locations:
| Platform | Location |
| Windows | In the registry under HKEY_CURRENT_USER\Software\Adobe\Adobe SVG Viewer\6.0 |
| Macintosh | In the file Macintosh HD:Users:username:Library:Preferences:Adobe SVG Viewer Preferences |
| Unix | In the file ~/.adobesvg/preferences.txt |
Here are the sections, keys, and values that may be modified:
| Section | Key | Values/Notes |
| AutoUpdate | Enabled | "yes" or "no". Adobe SVG Viewer by default will check periodically to see if a new version is available. Set this value to "no" to disable auto-update on your system. |
| Interval | The number of days to wait until checking again for a new version of Adobe SVG Viewer if "UseDefaultInterval" is set to "no". | |
| UseDefaultInterval | "yes" or "no". If "yes", use the Adobe specified number of days until checking for a new version. If "no", wait "Interval" days instead. | |
| Locale | systemLanguage | The two character ISO 639 language code for the language to use with the SVG systemLanguage attribute. This over-rides the operating system value. |
| RenderingOptions | AAGamma | The gamma value to use when antialiasing. |
| VideoEngine | Enable | "yes" or "no". Set to "no" to disable video (which may be desired in high security environments). |
To report bugs and/or provide feedback, please go to the SVG Zone on Adobe.com.
© Copyright 1998-2003 by Adobe Systems Incorporated. All rights reserved.
Adobe Illustrator and GoLive are either registered trademarks or trademarks of Adobe Systems Incorporated in the United States and/or other countries. SVG is a trademark (registered in numerous countries) of the World Wide Web Consortium; marks of the W3C are registered and held by its host institutions MIT INRIA and Keio. Windows and Windows NT are registered trademarks of Microsoft Corporation in the United States and/or other countries. Mac and TrueType are trademarks of Apple Computer Inc. in the United States and/or other countries. RealNetworks, RealPlayer, and RealAudio are registered trademarks of RealNetworks. All other trademarks are property of their respective owners. The Adobe SVG Viewer 6.0 internal script engine is based on source code governed by the Mozilla Public License version 1.1. The modified versions of the source files covered by the MPL are available for the public as required by the license.