Appendix O: Feature Strings

Contents

O.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
DOM Level 2 Core
[DOM2] (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.

O.2 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)

http://www.w3.org/TR/SVG11/feature#CoreAttribute

http://www.w3.org/TR/SVG11/feature#Structure

http://www.w3.org/TR/SVG11/feature#ContainerAttribute

http://www.w3.org/TR/SVG11/feature#ConditionalProcessing

http://www.w3.org/TR/SVG11/feature#Image

http://www.w3.org/TR/SVG11/feature#Style

http://www.w3.org/TR/SVG11/feature#ViewportAttribute

http://www.w3.org/TR/SVG11/feature#Shape

http://www.w3.org/TR/SVG11/feature#Text

http://www.w3.org/TR/SVG11/feature#PaintAttribute

http://www.w3.org/TR/SVG11/feature#OpacityAttribute

http://www.w3.org/TR/SVG11/feature#GraphicsAttribute

http://www.w3.org/TR/SVG11/feature#Marker

http://www.w3.org/TR/SVG11/feature#ColorProfile

http://www.w3.org/TR/SVG11/feature#Gradient

http://www.w3.org/TR/SVG11/feature#Pattern

http://www.w3.org/TR/SVG11/feature#Clip

http://www.w3.org/TR/SVG11/feature#Mask

http://www.w3.org/TR/SVG11/feature#Filter

http://www.w3.org/TR/SVG11/feature#XlinkAttribute

http://www.w3.org/TR/SVG11/feature#Font

http://www.w3.org/TR/SVG11/feature#Extensibility

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:

http://www.w3.org/TR/SVG11/feature#Hyperlinking

http://www.w3.org/TR/SVG11/feature#Scripting

http://www.w3.org/TR/SVG11/feature#View

http://www.w3.org/TR/SVG11/feature#Cursor

http://www.w3.org/TR/SVG11/feature#GraphicalEventsAttribute

http://www.w3.org/TR/SVG11/feature#DocumentEventsAttribute

http://www.w3.org/TR/SVG11/feature#AnimationEventsAttribute

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".

O.3 SVG 1.0 feature strings

The feature string "org.w3c.svg"
indicates that the user agent supports at least one of the
following (all of which are described subsequently):
"org.w3c.svg.static",
"org.w3c.svg.animation",
"org.w3c.svg.dynamic" or
"org.w3c.dom.svg". (Because the feature
string "org.w3c.svg" can be ambiguous in
some circumstances, it is recommended that more specific
feature strings be used.)

The feature string "org.w3c.dom.svg"
indicates that the user agent supports at least one of the
following (all of which are described subsequently):
"org.w3c.dom.svg.static",
"org.w3c.dom.svg.animation" or
"org.w3c.dom.svg.dynamic". (Because the
feature string "org.w3c.dom.svg" can be
ambiguous in some circumstances, it is recommended that more
specific feature strings be used.)

The feature string "org.w3c.svg.static"
indicates the availability of all of the language
capabilities defined in:

For SVG viewers, "org.w3c.svg.static"
indicates that the viewer can process and render
successfully all of the language features listed above.

The feature string
"org.w3c.dom.svg.static" indicates the
availability of all of the DOM interfaces and methods that
correspond to the language features for
"org.w3c.svg.static".

The feature string
"org.w3c.svg.animation" includes all of the
language capabilities defined for
"org.w3c.svg.static" plus the availability
of all of the language capabilities defined in Animation. For SVG viewers running on
media capable of rendering time-based material, such as
displays, "org.w3c.svg.animation" indicates
that the viewer can process and render successfully all of
the corresponding language features.

The feature string
"org.w3c.dom.svg.animation" corresponds to
the availability of DOM interfaces and methods that
correspond to the language features for
"org.w3c.svg.animation".

The feature string "org.w3c.svg.dynamic"
includes all of the language capabilities defined for
"org.w3c.svg.animation" plus the
availability of all of the language capabilities defined in
Relationship
with DOM2 events, Linking and
Interactivity and Scripting. For SVG viewers running on
media capable of rendering time-based material, such as
displays, "org.w3c.svg.dynamic" indicates
that the viewer can process and render successfully all of
the corresponding language features.

The feature string
"org.w3c.dom.svg.dynamic" corresponds to the
availability of DOM interfaces and methods that correspond to
the language features for
"org.w3c.svg.dynamic".

The feature string "org.w3c.svg.all"
corresponds to the availability of all of the language
capabilities defined in this specification.

The feature string "org.w3c.dom.svg.all"
corresponds to the availability of all of the DOM interfaces
defined in this specification.