SVG 2 – 28 August 2012 TopContentsPreviousNextElementsAttributesProperties

Appendix L: Feature Strings

Contents

This appendix is normative.

L.1. Introduction

The following are the feature strings for the requiredFeatures attribute. These same feature strings apply to the hasFeature method call that is part of the SVG DOM's support for the DOMImplementation interface defined in DOM4 [DOM4] (see Feature strings for the hasFeature method call). In some cases the feature strings map directly to a set of attributes, properties or elements, in others they represent some functionality of the user agent (that it is a dynamic viewer for example). Note that the format and naming for feature strings changed from SVG 1.0 [SVG10] to SVG 1.1. The SVG 1.0 feature strings are listed below after the SVG 1.1 feature strings and User Agents should support all listed feature strings for compatibility reasons. However, the SVG 1.0 feature strings can be considered deprecated.

L.2. SVG 2 feature strings

Feature String:
http://www.w3.org/TR/SVG2/feature#GraphicsAttribute
User Agent Supports:
the ‘buffered-rendering’, ‘display’, ‘image-rendering’, ‘pointer-events’, ‘shape-rendering’, ‘text-rendering’ and ‘visibility’ properties

L.3. SVG 1.1 feature strings

Feature String:
http://www.w3.org/TR/SVG11/feature#SVG
User Agent Supports:
At least one of the following (all of which are described subsequently): "http://www.w3.org/TR/SVG11/feature#SVG-static", "http://www.w3.org/TR/SVG11/feature#SVG-animation", "http://www.w3.org/TR/SVG11/feature#SVG-dynamic" or "http://www.w3.org/TR/SVG11/feature#SVGDOM". (Because the feature string "http://www.w3.org/TR/SVG11/feature#SVG" can be ambiguous in some circumstances, it is recommended that more specific feature strings be used.)
Feature String:
http://www.w3.org/TR/SVG11/feature#SVGDOM
User Agent Supports:
At least one of the following (all of which are described subsequently): "http://www.w3.org/TR/SVG11/feature#SVGDOM-static", "http://www.w3.org/TR/SVG11/feature#SVGDOM-animation" or "http://www.w3.org/TR/SVG11/feature#SVGDOM-dynamic". (Because the feature string "http://www.w3.org/TR/SVG11/feature#SVGDOM" can be ambiguous in some circumstances, it is recommended that more specific feature strings be used.)
Feature String:
http://www.w3.org/TR/SVG11/feature#SVG-static
User Agent Supports:
The following features (described below) For SVG viewers, "http://www.w3.org/TR/SVG11/feature#SVG-static" indicates that the viewer can process and render successfully all of the language features corresponding to the feature strings listed above.
Feature String:
http://www.w3.org/TR/SVG11/feature#SVGDOM-static
User Agent Supports:
All of the DOM interfaces and methods that correspond to the language features for "http://www.w3.org/TR/SVG11/feature#SVG-static".
Feature String:
http://www.w3.org/TR/SVG11/feature#SVG-animation
User Agent Supports:
All of the language features from "http://www.w3.org/TR/SVG11/feature#SVG-static" plus the feature "http://www.w3.org/TR/SVG11/feature#Animation". For SVG viewers running on media capable of rendering time-based material, such as displays, "http://www.w3.org/TR/SVG11/feature#SVG-animation" indicates that the viewer can process and render successfully all of the corresponding language features.
Feature String:
http://www.w3.org/TR/SVG11/feature#SVGDOM-animation
User Agent Supports:
All of the DOM interfaces and methods that correspond to the language features for "http://www.w3.org/TR/SVG11/feature#SVG-animation".
Feature String:
http://www.w3.org/TR/SVG11/feature#SVG-dynamic
User Agent Supports:
All of the language features from "http://www.w3.org/TR/SVG11/feature#SVG-animation" plus the following features: For SVG viewers running on media capable of rendering time-based material, such as displays, "http://www.w3.org/TR/SVG11/feature#SVG-dynamic" indicates that the viewer can process and render successfully all of the corresponding language features.
Feature String:
http://www.w3.org/TR/SVG11/feature#SVGDOM-dynamic
User Agent Supports:
All of the DOM interfaces and methods that correspond to the language features for "http://www.w3.org/TR/SVG11/feature#SVG-dynamic".
Feature String:
http://www.w3.org/TR/SVG11/feature#CoreAttribute
User Agent Supports:
the id, xml:base, xml:lang and xml:space attributes
Feature String:
http://www.w3.org/TR/SVG11/feature#Structure
User Agent Supports:
svg, g, defs, desc, title, metadata, symbol and use elements
Feature String:
http://www.w3.org/TR/SVG11/feature#BasicStructure
User Agent Supports:
svg, g, defs, desc, title, metadata and use elements
Feature String:
http://www.w3.org/TR/SVG11/feature#ContainerAttribute
User Agent Supports:
the ‘enable-background’ property
Feature String:
http://www.w3.org/TR/SVG11/feature#ConditionalProcessing
User Agent Supports:
the switch element, and the requiredFeatures, requiredExtensions and systemLanguage attributes
Feature String:
http://www.w3.org/TR/SVG11/feature#Image
User Agent Supports:
the image element
Feature String:
http://www.w3.org/TR/SVG11/feature#Style
User Agent Supports:
the style element
Feature String:
http://www.w3.org/TR/SVG11/feature#ViewportAttribute
User Agent Supports:
the ‘clip’ and ‘overflow’ properties
Feature String:
http://www.w3.org/TR/SVG11/feature#Shape
User Agent Supports:
the rect, circle, line, polyline, polygon, ellipse and path elements
Feature String:
http://www.w3.org/TR/SVG11/feature#Text
User Agent Supports:
the text, tspan, tref, textPath, altGlyph, altGlyphDef, altGlyphItem and glyphRef elements
Feature String:
http://www.w3.org/TR/SVG11/feature#BasicText
User Agent Supports:
the text element
Feature String:
http://www.w3.org/TR/SVG11/feature#PaintAttribute
User Agent Supports:
the ‘color’, ‘fill’, ‘fill-rule’, ‘stroke’, ‘stroke-dasharray’, ‘stroke-dashoffset’, ‘stroke-linecap’, ‘stroke-linejoin’, ‘stroke-miterlimit’, ‘stroke-width’, ‘color-interpolation’ and ‘color-rendering’ properties
Feature String:
http://www.w3.org/TR/SVG11/feature#BasicPaintAttribute
User Agent Supports:
the ‘color’, ‘fill’, ‘fill-rule’, ‘stroke’, ‘stroke-dasharray’, ‘stroke-dashoffset’, ‘stroke-linecap’, ‘stroke-linejoin’, ‘stroke-miterlimit’, ‘stroke-width’ and ‘color-rendering’ properties
Feature String:
http://www.w3.org/TR/SVG11/feature#OpacityAttribute
User Agent Supports:
the ‘opacity’, ‘stroke-opacity’ and ‘fill-opacity’ properties
Feature String:
http://www.w3.org/TR/SVG11/feature#GraphicsAttribute
User Agent Supports:
the ‘display’, ‘image-rendering’, ‘pointer-events’, ‘shape-rendering’, ‘text-rendering’ and ‘visibility’ properties
Feature String:
http://www.w3.org/TR/SVG11/feature#BasicGraphicsAttribute
User Agent Supports:
the ‘display’ and ‘visibility’ properties
Feature String:
http://www.w3.org/TR/SVG11/feature#Marker
User Agent Supports:
the marker element
Feature String:
http://www.w3.org/TR/SVG11/feature#ColorProfile
User Agent Supports:
the color-profile element
Feature String:
http://www.w3.org/TR/SVG11/feature#Gradient
User Agent Supports:
the linearGradient, radialGradient and stop elements
Feature String:
http://www.w3.org/TR/SVG11/feature#Pattern
User Agent Supports:
the pattern element
Feature String:
http://www.w3.org/TR/SVG11/feature#Clip
User Agent Supports:
the clipPath element and the ‘clip-path’ and ‘clip-rule’ properties
Feature String:
http://www.w3.org/TR/SVG11/feature#BasicClip
User Agent Supports:
the clipPath element and the ‘clip-path’ property
Feature String:
http://www.w3.org/TR/SVG11/feature#Mask
User Agent Supports:
the mask element
Feature String:
http://www.w3.org/TR/SVG11/feature#Filter
User Agent Supports:
the filter, feBlend, feColorMatrix, feComponentTransfer, feComposite, feConvolveMatrix, feDiffuseLighting, feDisplacementMap, feFlood, feGaussianBlur, feImage, feMerge, feMergeNode, feMorphology, feOffset, feSpecularLighting, feTile, feDistantLight, fePointLight, feSpotLight, feFuncR, feFuncG, feFuncB and feFuncA elements
Feature String:
http://www.w3.org/TR/SVG11/feature#BasicFilter
User Agent Supports:
the filter, feBlend, feColorMatrix, feComponentTransfer, feComposite, feFlood, feGaussianBlur, feImage, feMerge, feMergeNode, feOffset, feTile, feFuncR, feFuncG, feFuncB and feFuncA elements
Feature String:
http://www.w3.org/TR/SVG11/feature#DocumentEventsAttribute
User Agent Supports:
the onunload, onabort, onerror, onresize, onscroll and onzoom attributes
Feature String:
http://www.w3.org/TR/SVG11/feature#GraphicalEventsAttribute
User Agent Supports:
the onfocusin, onfocusout, onactivate, onclick, onmousedown, onmouseup, onmouseover, onmousemove, onmouseout and onload attributes
Feature String:
http://www.w3.org/TR/SVG11/feature#AnimationEventsAttribute
User Agent Supports:
the onbegin, onend, onrepeat and onload attributes
Feature String:
http://www.w3.org/TR/SVG11/feature#Cursor
User Agent Supports:
the cursor element
Feature String:
http://www.w3.org/TR/SVG11/feature#Hyperlinking
User Agent Supports:
the a element
Feature String:
http://www.w3.org/TR/SVG11/feature#XlinkAttribute
User Agent Supports:
the xlink:type, xlink:href, xlink:role, xlink:arcrole, xlink:title, xlink:show and xlink:actuate attributes
Feature String:
http://www.w3.org/TR/SVG11/feature#View
User Agent Supports:
the view element
Feature String:
http://www.w3.org/TR/SVG11/feature#Script
User Agent Supports:
the script element
Feature String:
http://www.w3.org/TR/SVG11/feature#Animation
User Agent Supports:
the animate, set, animateMotion, animateTransform, animateColor and mpath elements
Feature String:
http://www.w3.org/TR/SVG11/feature#Font
User Agent Supports:
the font, font-face, glyph, missing-glyph, hkern, vkern, font-face-src, font-face-uri, font-face-format and font-face-name elements
Feature String:
http://www.w3.org/TR/SVG11/feature#BasicFont
User Agent Supports:
the font, font-face, glyph, missing-glyph, hkern, font-face-src and font-face-name elements
Feature String:
http://www.w3.org/TR/SVG11/feature#Extensibility
User Agent Supports:
the foreignObject element

L.4. SVG 1.0 feature strings

All SVG 1.0 [SVG10] feature strings referring to language capabilities begin with "org.w3c.svg". All SVG 1.0 feature strings referring to SVG DOM capabilities begin with "org.w3c.dom.svg".

SVG 2 – 28 August 2012 TopContentsPreviousNextElementsAttributesProperties