W3C

Scalable Vector Graphics (SVG) Version 1.1

W3C Working Draft 08 January 2002

This version:
http://www.w3.org/TR/2002/WD-SVG11-20020108/ (in XML (with its own DTD, XSL stylesheet) and HTML)
Latest version:
http://www.w3.org/TR/SVG11/
Previous versions:
http://www.w3.org/TR/2001/WD-SVG11-20011030/
Editor:
Dean Jackson, W3C/CSIRO <dean@w3.org>

Abstract

This specification defines the features and syntax for Scalable Vector Graphics (SVG) Version 1.1, a modularized language for describing two-dimensional vector and mixed vector/raster graphics in XML.

Status of this Document

This document is the second public draft of the SVG 1.1 specification. This draft serves two purposes: to provide a modularization of SVG based on SVG 1.0 and to indicate the new features of SVG 1.1. At present, it must be read in accompaniment with the SVG 1.0 specification. The next draft of this document will be a complete self-contained specification of SVG 1.1. A list of changes since the first draft of 30 October 2001 is available.

It is possible to use this document as a basis for implementation. However, no guarantee is given of stability, and the SVG Working Group will not use the existence of implementations conforming to this draft as a reason for not changing future drafts.

We explicitly invite comments on this specification. Please send them to svg-comments@w3.org.

This document has been produced by the W3C SVG Working Group as part of the Graphics Activity within the W3C Document Formats Domain. The goals of the W3C SVG Working Group are discussed in the W3C SVG Charter (W3C members only). The W3C SVG Working Group has maintained a public Web page http://www.w3.org/Graphics/SVG/ which contains further background information. The authors of this document are the SVG Working Group members.

Public discussion of issues related to vector graphics on the Web and SVG in particular takes place on the www-svg@w3.org (public mailing list of the SVG Working Group - list archives). To subscribe send an email to www-svg-request@w3.org with the word subscribe in the subject line.

A list of current W3C Recommendations and other technical documents can be found at http://www.w3.org/TR/. W3C publications may be updated, replaced, or obsoleted by other documents at any time. In particular it is inappropriate to use W3C Working Drafts as reference material or to cite them as other than "work in progress".

Table of Contents

1 Introduction
    1.1 Modularization
        1.1.1 Element and Attribute Collections
    1.2 Profiling the SVG specification

2 Structure
    2.1 The version attribute
    2.2 The baseProfile attribute
    2.3 Full Core Attribute Module
    2.4 Full Structure Module
        2.4.1 Full Structure Content Sets
    2.5 Tiny Structure Module
        2.5.1 Tiny Structure Content Sets
    2.6 Full Container Attribute Module
    2.7 Full Viewport Attribute Module

3 Coordinate Systems, Transforms and Units
    3.1 Geographic Coordinate System
    3.2 Using Viewport Coordinates

4 Style
    4.1 Full Style Module
        4.1.1 Full Style Content Set
        4.1.2 Full Style Attribute Set

5 Painting
    5.1 Full Paint Attribute Module
    5.2 Tiny Paint Attribute Module
    5.3 Full Opacity Attribute Module
    5.4 Full Graphics Attribute Module
    5.5 Tiny Graphics Attribute Module

6 Hyperlinking
    6.1 Full Hyperlinking Module
        6.1.1 Full Hyperlinking Content Set
    6.2 Full XLink Attribute Module
    6.3 Full ExternalResourcesRequired Attribute Module

7 Conditional Processing
    7.1 The requiredFeatureList attribute
    7.2 Full Conditional Processing Module
        7.2.1 Full Conditional Processing Content Set
        7.2.2 Full Conditional Processing Attribute Set

8 Shapes
    8.1 Full Shape Module
        8.1.1 Full Shape Content Set

9 Images
    9.1 Full Image Module
        9.1.1 Full Image Content Set
        9.1.2 Full Image Attribute Set

10 Text
    10.1 Simple Text Wrapping
    10.2 Full Text Module
        10.2.1 Full Text Content Sets
        10.2.2 Full Text Attribute Sets
    10.3 Basic Text Module
        10.3.1 Basic Text Content Sets
        10.3.2 Basic Text Attribute Sets
    10.4 Tiny Text Module
        10.4.1 Tiny Text Content Sets
        10.4.2 Tiny Text Attribute Set

11 Color
    11.1 Color Element
    11.2 Full Color Module
        11.2.1 Full Color Content Set
        11.2.2 Full Color Attribute Set
    11.3 Tiny Color Module
        11.3.1 Tiny Color Attribute Set

12 Gradients
    12.1 Full Gradient Module
        12.1.1 Full Gradient Content Set
        12.1.2 Full Gradient Attribute Set

13 Patterns
    13.1 Full Pattern Module
        13.1.1 Full Pattern Content Set

14 Clipping
    14.1 Full Clip Module
        14.1.1 Full Clip Content Set
        14.1.2 Full Clip Attribute Set
    14.2 Basic Clip Module
        14.2.1 Basic Clip Content Set
        14.2.2 Basic Clip Attribute Set

15 Masking
    15.1 Full Mask Module
        15.1.1 Full Mask Content Set
        15.1.2 Full Mask Attribute Set

16 Markers
    16.1 Full Marker Module
        16.1.1 Full Marker Content Set
        16.1.2 Full Marker Attribute Set

17 Fonts
    17.1 Full Font Module
        17.1.1 Full Font Content Set
    17.2 Tiny Font Module
        17.2.1 Tiny Font Content Set

18 Interactivity
    18.1 Full Document Events Attribute Module
    18.2 Full Graphical Element Events Attribute Module
    18.3 Full Animation Events Attribute Module

19 Scripting
    19.1 Full Scripting Module
        19.1.1 Full Scripting Content Set

20 Cursors
    20.1 Full Cursor Module
        20.1.1 Full Cursor Content Set
        20.1.2 Full Cursor Attribute Set

21 Views
    21.1 Full View Module
        21.1.1 Full View Content Set

22 Filters
    22.1 Full Filter Module
        22.1.1 Full Filter Content Sets
        22.1.2 Full Filter Attribute Sets
    22.2 Basic Filter Module
        22.2.1 Basic Filter Content Sets
        22.2.2 Basic Filter Attribute Sets

23 Animation
    23.1 Full Animation Module
        23.1.1 Full Animation Content Set
        23.1.2 Full Animation Attribute Sets

24 Extensibility
    24.1 Full Extensibility Module
        24.1.1 Full Extensibility Content Set

Appendices

A XML Schema

B DTD

C References

D Author List


1 Introduction

This specification defines version 1.1 of the Scalable Vector Graphics Language. The definition and description of all features can be found in the SVG 1.0 [SVG 1.0] specification, although there are a number areas where future drafts of this specification will include new language features. These areas are noted but not defined at present. Unless explicitly noted, the element definitions have not changed from SVG 1.0 to SVG 1.1.

The primary goal is to draft a modularization of the SVG language which can be used to build profiles of SVG, such as SVG Mobile.

Note:

This draft references the [SVG 1.0] specification heavily. The SVG 1.1 editorial team intended for this draft to be a complete self-contained specification, but this was not possible in the short timeframe. The next version of this document will be a complete self-contained specification.

1.1 Modularization

The modularization of SVG included here is a decomposition of SVG 1.0 and a small set of extra features into a collection of abstract modules that provide specific types of functionality. The modules are described in this specification and will be implemented by Document Type Definition and XML Schema in future drafts.

These modules may be combined with each other and with other modules to create SVG subset and extension document types that qualify as members of the SVG-family of document types.

Each major section of the SVG 1.0 specification produces a module named after that section, e.g. "Full Text Module". The term "Full" implies that the module includes the complete set of elements and attributes with no restrictions from the corresponding section of the specification. If there is need to provide a subset of the functionality in a Full module, then Basic and/or Tiny modules are created. A Tiny module is a subset of a Basic module which is a subset of a Full module.

It is an error for a profile of SVG 1.1 to include a module and a subset of that module (e.g. the Full Text Module and the Basic Text Module).

1.1.1 Element and Attribute Collections

Most modules define a named collection of elements or attributes. These collections are used as a shorthand when describing the set of attributes allowed on an element or the set of elements allowed as children of an element. All collections have names that begin with an uppercase character.

In the case where an element or attribute collection is referred to, but the module that defines the collection has not been included in the profile, then the collection is defined to be empty. The exception to this is the collection PresentationAttrsAll, which is the union of all the presentation attribute collections (i.e. all the attribute collections with the string "Presentation" in their name).

A subset module (ie. a Basic or Tiny module) may define a different named collection from a superset module. Since it is an error to include a subset and superset module of the same group in a profile, all attribute and element collections will either be defined once by the module that includes them, or will have their default empty value.

1.2 Profiling the SVG specification

The modularization of SVG 1.1 allows profiles to be described by listing the SVG modules they allow and possibly a small number of restrictions or extensions on the elements provided by those modules.

The Full profile of SVG 1.1 is the collection of all the Full modules listed in this specification. Future drafts of this document will include a table that lists all elements, attributes and properties, along with the modules in which they are included.

When applied to conformance, the unqualified term "SVG" implies the Full profile of SVG 1.1 defined by this specification. If an implementation does not implement the Full profile, it must state either the profile to which it conforms, or that it implements a subset of SVG.

2 Structure

For further details refer to [SVG 1.0] : Chapter 5 - Document Structure

2.1 The version attribute

The 'svg' element has an attribute version with a fixed value in SVG 1.0 [SVG 1.0]. It is redefined in SVG 1.1 as follows:

version = "<number>"

Indicates the SVG language version to which this document fragment conforms. For SVG 1.1 content, this attribute is required and should have the value "1.1".

2.2 The baseProfile attribute

Note:

This section is not complete. The idea is for this attribute to be a shorthand for the requiredFeatureList test attribute. The values for this attribute may be restricted in future versions of this specification.

In the situations where a DOCTYPE declaration is not available, SVG user agents require a method to identify the type of SVG content that the document fragment is using. The baseProfile attribute has been added to the 'svg' element in SVG 1.1 to provide this information. Each profile of SVG is required to define a value to be used for the baseProfile attribute, preferably the name of the profile.

baseProfile = "name"

Indicates the SVG language profile that this document fragment is based on. An SVG user agent is required to minimally support this base profile in order to render the document fragment correctly.

2.3 Full Core Attribute Module

The Full Core Attribute Module defines the attribute set StdAttrs that is the core set of attributes that can be present on any element.

Collection Name Attributes in Collection
StdAttrs id, xml:base, xml:lang, xml:space

2.4 Full Structure Module

Elements Attributes Content Model
svg StdAttrs, TestAttrs, StyleAttrs, x, y, width, height, viewBox, preserveAspectRatio, zoomAndPan, version, contentScriptType, contentStyleType, ExternalResourcesRequiredAttrs, PresentationAttrsAll, GraphicsElementEvents, DocumentEvents (DescriptionElements | StructureElements | GraphicalElements | ImageElements | ViewElements | ConditionalElements | HyperlinkingElements | TextElements | ScriptElements | StyleElements | MarkerElements | ClipElements | MaskElements | GradientElements | PatternElements | FilterElements | CursorElements | FontElements | AnimationElements | ColorElements)*
g StdAttrs, TestAttrs, StyleAttrs, ExternalResourcesRequiredAttrs, PresentationAttrsAll, GraphicsElementEvents, transform (DescriptionElements | StructureElements | GraphicalElements | ImageElements | ViewElements | ConditionalElements | HyperlinkingElements | TextElements | ScriptElements | StyleElements | MarkerElements | ClipElements | MaskElements | GradientElements | PatternElements | FilterElements | CursorElements | FontElements | AnimationElements | ColorElements)*
defs StdAttrs, TestAttrs, StyleAttrs, ExternalResourcesRequiredAttrs, PresentationAttrsAll, GraphicsElementEvents, transform (DescriptionElements | StructureElements | GraphicalElements | ImageElements | ViewElements | ConditionalElements | HyperlinkingElements | TextElements | ScriptElements | StyleElements | MarkerElements | ClipElements | MaskElements | GradientElements | PatternElements | FilterElements | CursorElements | FontElements | AnimationElements | ColorElements)*
desc StdAttrs, StyleAttrs (PCDATA)*
title StdAttrs, StyleAttrs (PCDATA)*
metadata StdAttrs (PCDATA)*
symbol StdAttrs, StyleAttrs, ExternalResourcesRequiredAttrs, viewBox, preserveAspectRatio, PresentationAttrsAll, GraphicsElementEventAttrs (DescriptionElements | StructureElements | GraphicalElements | ImageElements | ViewElements | ConditionalElements | HyperlinkingElements | TextElements | ScriptElements | StyleElements | MarkerElements | ClipElements | MaskElements | GradientElements | PatternElements | FilterElements | CursorElements | FontElements | AnimationElements | ColorElements)*
use StdAttrs, StyleAttrs, TestAttrs, transform, x, y, width, height, xlink:href, XLinkRefAttrs, PresentationAttrsAll, GraphicsElementEventAttrs (DescriptionElements | AnimationElements)*

2.4.1 Full Structure Content Sets

The Full Structure Module defines the DescriptionElements, StructureElements and UseElements content sets.

Content Set Name Elements in Content Set
DescriptionElements desc, title, metadata
UseElements use
StructureElements svg, g, defs, symbol, UseElements

2.5 Tiny Structure Module

Elements Attributes Content Model
svg StdAttrs, TestAttrs, StyleAttrs, x, y, width, height, viewBox, preserveAspectRatio, zoomAndPan, version, contentScriptType, contentStyleType, ExternalResourcesRequiredAttrs, PresentationAttrsAll, GraphicsElementEvents, DocumentEvents (DescriptionElements | StructureElements | GraphicalElements | ImageElements | ViewElements | ConditionalElements | HyperlinkingElements | TextElements | ScriptElements | StyleElements | MarkerElements | ClipElements | MaskElements | GradientElements | PatternElements | FilterElements | CursorElements | FontElements | AnimationElements | ColorElements)*
g StdAttrs, TestAttrs, StyleAttrs, ExternalResourcesRequiredAttrs, PresentationAttrsAll, GraphicsElementEvents, transform (DescriptionElements | StructureElements | GraphicalElements | ImageElements | ViewElements | ConditionalElements | HyperlinkingElements | TextElements | ScriptElements | StyleElements | MarkerElements | ClipElements | MaskElements | GradientElements | PatternElements | FilterElements | CursorElements | FontElements | AnimationElements | ColorElements)*
defs StdAttrs, TestAttrs, StyleAttrs, ExternalResourcesRequiredAttrs, PresentationAttrsAll, GraphicsElementEvents, transform (DescriptionElements | StructureElements | GraphicalElements | ImageElements | ViewElements | ConditionalElements | HyperlinkingElements | TextElements | ScriptElements | StyleElements | MarkerElements | ClipElements | MaskElements | GradientElements | PatternElements | FilterElements | CursorElements | FontElements | AnimationElements | ColorElements)*
desc StdAttrs, StyleAttrs (PCDATA)*
title StdAttrs, StyleAttrs (PCDATA)*
metadata StdAttrs (PCDATA)*
use StdAttrs, StyleAttrs, TestAttrs, transform, x, y, width, height, xlink:href, XLinkRefAttrs, PresentationAttrsAll, GraphicsElementEventAttrs (DescriptionElements | AnimationElements)*

2.5.1 Tiny Structure Content Sets

The Tiny Structure Module defines the StructureElements and UseElements content sets.

Content Set Name Elements in Content Set
UseElements use
StructureElements svg, g, defs, UseElements

2.6 Full Container Attribute Module

The Full Container Attribute Module defines the ContainerPresentationAttrs attribute set.

Collection Name Attributes in Collection
ContainerPresentationAttrs enable-background

2.7 Full Viewport Attribute Module

The Full Viewport Attribute Module defines the ViewportPresentationAttrs attribute set.

Collection Name Attributes in Collection
ViewportPresentationAttrs clip, overflow

3 Coordinate Systems, Transforms and Units

For further details refer to [SVG 1.0] : Chapter 7 - Coordinate Systems

3.1 Geographic Coordinate System

In order to allow interoperability between SVG content generators and user agents dealing with maps encoded in SVG, the SVG 1.1 specification encourages the use of a common metadata definition for describing the coordinate system used in the SVG files.

These metadata should be added under the 'metadata' element of the topmost 'svg' element describing the map. They consists of an RDF description of the Coordinate Reference System definition of the SVG map.

The definition should be conformant to the XML grammar described in the OpenGIS Recommendation on the Definition of Coordinate Reference System [OpenGIS Coordinate Systems]. In order to correctly map the 2-dimensional data used by SVG, the CRS must be of subtype ProjectedCRS or Geographic2dCRS. The first axis of the described CRS maps the x-axis and the second axis maps the y-axis.

The main interest of such metadata is to indicate to the User Agent that two or more SVG documents can be overlayed or merged into a single document. Obviously, if two maps reference the same Coordinate Reference System definition then they can be overlayed without reprojecting the data. If the maps reference different Coordinate Reference Systems, then a specialised cartographic User Agent may choose to transform the coordinate data to overlay the data. However, typical SVG user agents are not required to perform these types of transformations, or even recognise the metadata.

Below are two examples of the coordinate metadata.

<svg ...>
  <metadata>
    <rdf:RDF xmlns:rdf = "http://www.w3.org/1999/02/22-rdf-syntax-ns#"
             xmlns:crs = "http://www.ogc.org/crs" >
      <rdf:Description>
        <!-- The Coordinate Reference System is described 
             through an URI. Is that legal RDF/XML??? -->
        <crs:CoordinateReferenceSystem
               rdf:resource="http://www.sample.org/srs/epsg.xml#4326"/>
      </rdf:Description>
    </rdf:RDF>
  </metadata>
  <!-- The actual map content -->
</svg> 

<svg ...>
  <metadata>
    <rdf:RDF xmlns:rdf = "http://www.w3.org/1999/02/22-rdf-syntax-ns#"
             xmlns:crs = "http://www.ogc.org/crs" >
      <rdf:Description>
        <!-- In case of a well-known Coordinate Reference System
             an 'Identifier' is enough to describe the CRS -->
        <crs:CoordinateReferenceSystem>
          <crs:Identifier>
            <crs:code>4326</crs:code>
            <crs:codeSpace>EPSG</crs:codeSpace>
            <crs:edition>5.2</crs:edition>
          </crs:Identifier>
        </crs:CoordinateReferenceSystem>
      </rdf:Description>
    </rdf:RDF>
  </metadata>
  <!-- The actual map content -->
</svg>
   

3.2 Using Viewport Coordinates

The SVG Working Group considered adding the ability to allow graphical elements to be described using viewport coordinates into SVG 1.1. With this feature, graphical content such as toolbars or map legends could be statically placed within the user agent viewport and be unaffected by zoom and pan.

While the benefits of such a feature are obvious, the Working Group has decided to leave this feature out of SVG 1.1 and consider it for SVG 2.0. There are two reasons behind the decision: a substantial change to the rendering and coordinate system model is inappropriate for a minor update of the SVG specification and that the feature is difficult to describe and implement, and thus warrants heavy consideration to ensure the most appropriate solution is found.

4 Style

For further details refer to [SVG 1.0] : Chapter 6 - Styling

4.1 Full Style Module

Elements Attributes Content Model
style StdAttrs, xml:space, type, media, title (#PCDATA)

4.1.1 Full Style Content Set

The Full Style Module defines the StyleElements content set.

Content Set Name Elements in Content Set
StyleElements style

4.1.2 Full Style Attribute Set

The Full Style Module defines the StyleAttrs attribute set.

Collection Name Attributes in Collection
StyleAttrs style, class

5 Painting

For further details refer to [SVG 1.0] : Chapter 11 - Painting: Filling, Stroking and Marker Symbols

5.1 Full Paint Attribute Module

The Full Paint Attribute Module defines the PaintPresentationAttrs attribute set.

Collection Name Attributes in Collection
PaintPresentationAttrs fill, fill-opacity, fill-rule, stroke, stroke-dasharray stroke-dashoffset, stroke-linecap, stroke-linejoin, stroke-miterlimit, stroke-opacity, stroke-width

5.2 Tiny Paint Attribute Module

The Tiny Paint Attribute Module defines the PaintPresentationAttrs attribute set.

Collection Name Attributes in Collection
PaintPresentationAttrs fill, fill-rule, stroke, stroke-dasharray stroke-dashoffset, stroke-linecap, stroke-linejoin, stroke-miterlimit, stroke-width

5.3 Full Opacity Attribute Module

The Full Opacity Attribute Module defines the OpacityPresentationAttrs attribute set.

Collection Name Attributes in Collection
OpacityPresentationAttrs opacity

5.4 Full Graphics Attribute Module

The Full Graphics Attribute Module defines the GraphicsPresentationAttrs attribute set.

Collection Name Attributes in Collection
GraphicsPresentationAttrs display, image-rendering, pointer-events, shape-rendering, text-rendering, visibility

5.5 Tiny Graphics Attribute Module

The Tiny Graphics Attribute Module defines the GraphicsPresentationAttrs attribute set.

Collection Name Attributes in Collection
GraphicsPresentationAttrs display, visibility

6 Hyperlinking

For further details refer to [SVG 1.0] : Chapter 17 - Linking

6.1 Full Hyperlinking Module

Elements Attributes Content Model
a StdAttrs, TestAttrs, StyleAttrs, transform, target, GraphicsElementEvents, PresentationAttrsAll, ExternalResourcesRequiredAttrs, xlink:type, xlink:role, xlink:arcrole, xlink:title, xlink:show, xlink:actuate, xlink:href (#PCDATA | StructureElements | DescriptionElements GraphicalElements | ImageElements | | ViewElements | ConditionalElements | HyperinkingElements | FontElements | ScriptElements | StyleElements | MarkerElements | ClipElements | MaskElements | GradientElements | PatternElements | FilterElements | CursorElements | AnimationElements | ColorElements)*

6.1.1 Full Hyperlinking Content Set

The Full Hyperlinking Module defines the HyperlinkingElements content set.

Content Set Name Elements in Content Set
HyperlinkingElements a

6.2 Full XLink Attribute Module

The Full XLink Attribute Module defines the XLinkRefAttrs attribute set.

Collection Name Attributes in Collection
XLinkRefAttrs xlink:type, xlink:role, xlink:arcrole, xlink:title, xlink:show, xlink:actuateopacity

6.3 Full ExternalResourcesRequired Attribute Module

The Full ExternalResourcesRequired Attribute Module defines the ExternalResourcesRequiredAttrs attribute set.

Collection Name Attributes in Collection
ExternalResourcesRequiredAttrs externalResourcesRequired

7 Conditional Processing

For further details refer to [SVG 1.0] : Chapter 5 - Document Structure : switch element

7.1 The requiredFeatureList attribute

Note:

This section is not complete.

SVG 1.1 will deprecate the requiredFeatures and requiredExtensions attributes and replace them with requiredFeatureList. This attribute will allow boolean logic expressions based on XPath to allow greater control over conditional processing. There will be a mapping from the deprecated syntax to the new syntax.

The feature strings used SVG 1.1 will be URIs.

7.2 Full Conditional Processing Module

Elements Attributes Content Model
switch StdAttrs, TestAttrs, ExternalResourcesRequiredAttrs, StyleAttrs, transform, PresentationAttrsAll, GraphicsElementsEventsAttrs (DescriptionElements | GraphicalElements | TextElements | StructureElements | ImageElements | HyperlinkingElements | ExtensibilityElements | AnimationElements)*

7.2.1 Full Conditional Processing Content Set

The Full Conditional Processing Module defines the ConditionalElements content set.

Content Set Name Elements in Content Set
ConditionalElements switch

7.2.2 Full Conditional Processing Attribute Set

The Full Conditional Processing Attribute Module defines the TestAttrs attribute set.

Collection Name Attributes in Collection
TestAttrs requiredFeatures, requiredExtensions, systemLanguage, requiredFeatureList

8 Shapes

For further details refer to [SVG 1.0] : Chapter 8 - Paths and Chapter 9 - Basic Shapes

8.1 Full Shape Module

Elements Attributes Content Model
path StdAttrs, TestAttrs, ExternalResourcesRequiredAttrs, StyleAttrs, transform, d, pathLength, GraphicsElementsEventsAttrs, ColorPresentationAttrs, PaintPresentationAttrs, OpacityPresentationAttrs, GraphicsPresentationAttrs, CursorPresentationAttrs, FilterPresentationAttrs, MaskPresentationAttrs, PointerEventsPresentationAttrs, ClipPresentationAttrs, MarkerPresentationAttrs (DescriptionElements | AnimationElements)*
rect StdAttrs, TestAttrs, StyleAttrs, GraphicsElementsEventsAttrs, ColorPresentationAttrs, PaintPresentationAttrs, OpacityPresentationAttrs, GraphicsPresentationAttrs, CursorPresentationAttrs, FilterPresentationAttrs, MaskPresentationAttrs, PointerEventsPresentationAttrs, ClipPresentationAttrs, x, y, width, height, rx, ry, transform (DescriptionElements | AnimationElements)*
circle StdAttrs, TestAttrs, StyleAttrs, GraphicsElementsEventsAttrs, ColorPresentationAttrs, PaintPresentationAttrs, OpacityPresentationAttrs, GraphicsPresentationAttrs, CursorPresentationAttrs, FilterPresentationAttrs, MaskPresentationAttrs, PointerEventsPresentationAttrs, ClipPresentationAttrs, cx, cy, r, transform (DescriptionElements | AnimationElements)*
line StdAttrs, TestAttrs, StyleAttrs, GraphicsElementsEventsAttrs, ColorPresentationAttrs, PaintPresentationAttrs, OpacityPresentationAttrs, GraphicsPresentationAttrs, CursorPresentationAttrs, FilterPresentationAttrs, MaskPresentationAttrs, PointerEventsPresentationAttrs, ClipPresentationAttrs, x1, y1, x2, y2, transform (DescriptionElements | AnimationElements)*
ellipse StdAttrs, TestAttrs, StyleAttrs, GraphicsElementsEventsAttrs, ColorPresentationAttrs, PaintPresentationAttrs, OpacityPresentationAttrs, GraphicsPresentationAttrs, CursorPresentationAttrs, FilterPresentationAttrs, MaskPresentationAttrs, PointerEventsPresentationAttrs, ClipPresentationAttrs, cx, cy, rx, ry, transform (DescriptionElements | AnimationElements)*
polyline StdAttrs, TestAttrs, StyleAttrs, GraphicsElementsEventsAttrs, ColorPresentationAttrs, PaintPresentationAttrs, OpacityPresentationAttrs, GraphicsPresentationAttrs, CursorPresentationAttrs, FilterPresentationAttrs, MaskPresentationAttrs, PointerEventsPresentationAttrs, ClipPresentationAttrs, points, transform (DescriptionElements | AnimationElements)*
polygon StdAttrs, TestAttrs, StyleAttrs, GraphicsElementsEventsAttrs, ColorPresentationAttrs, PaintPresentationAttrs, OpacityPresentationAttrs, GraphicsPresentationAttrs, CursorPresentationAttrs, FilterPresentationAttrs, MaskPresentationAttrs, PointerEventsPresentationAttrs, ClipPresentationAttrs, points, transform (DescriptionElements | AnimationElements)*

8.1.1 Full Shape Content Set

The Full Shape Module defines the GraphicalElements content set.

Content Set Name Elements in Content Set
GraphicalElements rect, circle, line, polyline, polygon, ellipse, path

9 Images

For further details refer to [SVG 1.0] : Chapter 5 - Document Structure : image Element

9.1 Full Image Module

Elements Attributes Content Model
image StdAttrs, XLinkRefAttrs, TestAttrs, StyleAttrs, ExternalResourcesRequiredAttrs, GraphicsElementsEventsAttrs, preserveAspectRatio, ColorPresentationAttrs, OpacityPresentationAttrs, GraphicsPresentationAttrs, CursorPresentationAttrs, FilterPresentationAttrs, MaskPresentationAttrs, PointerEventsPresentationAttrs, ClipPresentationAttrs, ImagePresentationAttrs, ViewportPresentationAttrs, transform, x, y, width, height, xlink:href (DescriptionElements | AnimationElements)*

9.1.1 Full Image Content Set

The Full Image Module defines the ImageElements content set.

Content Set Name Elements in Content Set
ImageElements image

9.1.2 Full Image Attribute Set

The Full Image Module defines the ImagePresentationAttrs attribute set

Collection Name Attributes in Collection
ImagePresentationAttrs color-profile

10 Text

For further details refer to [SVG 1.0] : Chapter 10 - Text

10.1 Simple Text Wrapping

Note:

This section is not complete and is still under discussion. It is included here in its present form to give both implementors and users the earliest opportunity to provide feedback.

SVG 1.1 will include new elements to support simple text wrapping, as shown in the example below.

<tblock>
   <!-- You can specify regions inline via <region> 
           or reference via <regionRef>.
           By default, display="none" on <region> and <regionRef>,
           but if you say display="inline" the contents will render. Only 
           <rect> supported in 1.1. -->
   <region>
     <rect id="foo" x="100" y="100" width="200" height="150"/>
   </region>
   <regionRef xlink:href="#Rect001"/>

   <flow>
     <p>
       My initial paragraph has a
       <span fill="red">RED</span>
       word, and has these other words, also.
     </p>

     <!-- Note the <br/> element below -->
     <p>
       <span>Second<br/>paragraph.</span>
     </p>
   </flow>
</tblock>
   

There will be seven new elements: 'tblock', 'region', 'regionRef', 'flow', 'p', 'span' and 'br'. All will be included in the Full Text Module and the Basic Text Module, but not the Tiny Text Module.

Note:

Alternatively, there may be a separate Text Wrapping Module.

Each 'tblock' has at least one 'region' child to define the area in which text wrapping will occur. If multiple regions are defined, then once a region is filled the text will flow into the next region. The text to wrap is defined in the 'flow' element.

The default user agent style sheet for SVG 1.1 will specify 'p' as a block element, 'span' as an inline element and 'br' as a forced linebreak. When elements from arbitrary namespaces are inserted in a 'flow' element, the content of those elements will be wrapped according to the value of their display property. The SVG user agent will position the text based on the properties, not the elements or their tag names.

The algorithm for line breaking will be very simple, basically breaking on spaces, zero-width spaces and Unicode soft hypens. If it is necessary to break a line that does not have any of these characters, then the line will break after the last character that fits. The algorithm will support multiline bidirectional text. The algorithm will produce identical results across implementations when the text is rendered with an SVG font.

10.2 Full Text Module

Elements Attributes Content Model
text StdAttrs, TestAttrs, ExternalResourcesRequiredAttrs, StyleAttrs, transform, x, y, dx, dy, rotate, textLength, lengthAdjust, GraphicsElementsEventAttrs, ColorPresentationAttrs, PaintPresentationAttrs, FontPresentationAttrs, OpacityPresentationAttrs, GraphicsPresentationAttrs, CursorPresentationAttrs, FilterPresentationAttrs, MaskPresentationAttrs, PointerEventsPresentationAttrs, ClipPresentationAttrs, TextContentPresentationAttrs, TextElementPresentationAttrs (#PCDATA | DescriptionElements | TextContentElements | HyperlinkingElements | AnimationElements)*
tspan StdAttrs, TestAttrs, ExternalResourcesRequiredAttrs, StyleAttrs, x, y, dx, dy, rotate, textLength, lengthAdjust, GraphicsElementsEventAttrs, ColorPresentationAttrs, PaintPresentationAttrs, FontPresentationAttrs, OpacityPresentationAttrs, GraphicsPresentationAttrs, CursorPresentationAttrs, FilterPresentationAttrs, MaskPresentationAttrs, PointerEventsPresentationAttrs, ClipPresentationAttrs, TextContentPresentationAttrs (#PCDATA | DescriptionElements | TextContentElements | HyperlinkingElements | AnimationElements)*
tref StdAttrs, TestAttrs, ExternalResourcesRequiredAttrs, StyleAttrs, XLinkRefAttrs, xlink:href, x, y, dx, dy, rotate, textLength, lengthAdjust, GraphicsElementsEventAttrs, ColorPresentationAttrs, PaintPresentationAttrs, FontPresentationAttrs, OpacityPresentationAttrs, GraphicsPresentationAttrs, CursorPresentationAttrs, FilterPresentationAttrs, MaskPresentationAttrs, PointerEventsPresentationAttrs, ClipPresentationAttrs, TextContentPresentationAttrs (#PCDATA | DescriptionElements | AnimationElements)*
textPath StdAttrs, TestAttrs, ExternalResourcesRequiredAttrs, StyleAttrs, startOffset, textLength, lengthAdjust, method, spacing, XLinkRefAttrs, xlink:href, GraphicsElementsEventAttrs, ColorPresentationAttrs, PaintPresentationAttrs, FontPresentationAttrs, OpacityPresentationAttrs, GraphicsPresentationAttrs, CursorPresentationAttrs, FilterPresentationAttrs, MaskPresentationAttrs, PointerEventsPresentationAttrs, ClipPresentationAttrs, TextContentPresentationAttrs (#PCDATA | DescriptionElements | TextContentElements | HyperlinkingElements | AnimationElements)*
altGlyph StdAttrs, TestAttrs, ExternalResourcesRequiredAttrs, StyleAttrs, x, y, dx, dy, rotate, textLength, glyphRef, format, xlink:href, XLinkRefAttrs, lengthAdjust, GraphicsElementsEventAttrs, ColorPresentationAttrs, PaintPresentationAttrs, FontPresentationAttrs, OpacityPresentationAttrs, GraphicsPresentationAttrs, CursorPresentationAttrs, FilterPresentationAttrs, MaskPresentationAttrs, PointerEventsPresentationAttrs, ClipPresentationAttrs, TextContentPresentationAttrs (PCDATA)*
altGlyphDef StdAttrs (glyphRef+ | altGlyphItem+)
altGlyphItem StdAttrs (glyphRef+)
glyphRef StdAttrs, ExternalResourcesRequiredAttrs, StyleAttrs, x, y, dx, dy, glyphRef, format, xlink:href, XLinkRefAttrs, lengthAdjust, FontPresentationAttrs Empty

10.2.1 Full Text Content Sets

The Full Text Module defines the TextElements and TextContentElements content sets.

Content Set Name Elements in Content Set
TextElements text, altGlyphDef
TextContentElements tspan, tref, textPath, altGlyph

10.2.2 Full Text Attribute Sets

The Full Text Module defines the TextPresentationAttrs, TextContentPresentationAttrs and FontPresentationAttrs attribute sets.

Collection Name Attributes in Collection
TextPresentationAttrs writing-mode
TextContentPresentationAttrs alignment-baseline, baseline-shift, direction, dominant-baseline, glyph-orientation-horizontal, glyph-orientation-vertical, kerning, letter-spacing, text-anchor, text-decoration, unicode-bidi, word-spacing
FontPresentationAttrs font-family, font-size, font-size-adjust, font-stretch, font-style, font-variant, font-weight

10.3 Basic Text Module

Elements Attributes Content Model
text StdAttrs, TestAttrs, ExternalResourcesRequiredAttrs, StyleAttrs, transform, x, y, rotate, GraphicsElementsEventAttrs, ColorPresentationAttrs, PaintPresentationAttrs, FontPresentationAttrs, OpacityPresentationAttrs, GraphicsPresentationAttrs, CursorPresentationAttrs, FilterPresentationAttrs, MaskPresentationAttrs, PointerEventsPresentationAttrs, ClipPresentationAttrs, TextContentPresentationAttrs, TextElementPresentationAttrs (#PCDATA | DescriptionElements | TextContentElements | HyperlinkingElements | AnimationElements)*
tspan StdAttrs, TestAttrs, ExternalResourcesRequiredAttrs, StyleAttrs, x, y, rotate, GraphicsElementsEventAttrs, ColorPresentationAttrs, PaintPresentationAttrs, FontPresentationAttrs, OpacityPresentationAttrs, GraphicsPresentationAttrs, CursorPresentationAttrs, FilterPresentationAttrs, MaskPresentationAttrs, PointerEventsPresentationAttrs, ClipPresentationAttrs, TextContentPresentationAttrs (#PCDATA | DescriptionElements | TextContentElements | HyperlinkingElements | AnimationElements)*
tref StdAttrs, TestAttrs, ExternalResourcesRequiredAttrs, StyleAttrs, x, y, rotate, XLinkRefAttrs, xlink:href, GraphicsElementsEventAttrs, ColorPresentationAttrs, PaintPresentationAttrs, FontPresentationAttrs, OpacityPresentationAttrs, GraphicsPresentationAttrs, CursorPresentationAttrs, FilterPresentationAttrs, MaskPresentationAttrs, PointerEventsPresentationAttrs, ClipPresentationAttrs, TextContentPresentationAttrs (#PCDATA | DescriptionElements | AnimationElements)*
textPath StdAttrs, TestAttrs, ExternalResourcesRequiredAttrs, StyleAttrs, startOffset, XLinkRefAttrs, xlink:href, GraphicsElementsEventAttrs, ColorPresentationAttrs, PaintPresentationAttrs, FontPresentationAttrs, OpacityPresentationAttrs, GraphicsPresentationAttrs, CursorPresentationAttrs, FilterPresentationAttrs, MaskPresentationAttrs, PointerEventsPresentationAttrs, ClipPresentationAttrs, TextContentPresentationAttrs (#PCDATA | DescriptionElements | TextContentElements | HyperlinkingElements | AnimationElements)*

10.3.1 Basic Text Content Sets

The Basic Text Module defines the TextElements and TextContentElements content sets.

Content Set Name Elements in Content Set
TextElements text
TextContentElements tspan, tref, textPath

10.3.2 Basic Text Attribute Sets

The Basic Text Module defines the TextPresentationAttrs, TextContentPresentationAttrs and FontPresentationAttrs attribute sets.

Collection Name Attributes in Collection
TextPresentationAttrs writing-mode
TextContentPresentationAttrs alignment-baseline, baseline-shift, direction, dominant-baseline, glyph-orientation-horizontal, glyph-orientation-vertical, kerning, letter-spacing, text-anchor, text-decoration, unicode-bidi, word-spacing
FontPresentationAttrs font-family, font-size, font-size-adjust, font-stretch, font-style, font-variant, font-weight

10.4 Tiny Text Module

Elements Attributes Content Model
text StdAttrs, TestAttrs, ExternalResourcesRequiredAttrs, StyleAttrs, transform, x, y, rotate, GraphicsElementsEventAttrs, ColorPresentationAttrs, PaintPresentationAttrs, FontPresentationAttrs, OpacityPresentationAttrs, GraphicsPresentationAttrs, CursorPresentationAttrs, FilterPresentationAttrs, MaskPresentationAttrs, PointerEventsPresentationAttrs, ClipPresentationAttrs, TextContentPresentationAttrs, TextElementPresentationAttrs (#PCDATA | DescriptionElements | HyperlinkingElements | AnimationElements)*

10.4.1 Tiny Text Content Sets

The Tiny Text Module defines the TextElements and TextContentElements content sets.

Content Set Name Elements in Content Set
TextElements text
TextContentElements Empty

10.4.2 Tiny Text Attribute Set

The Tiny Text Module defines FontPresentationAttrs attribute set.

Collection Name Attributes in Collection
FontPresentationAttrs font-family, font-size, font-style, font-weight

11 Color

For further details refer to [SVG 1.0] : Chapter 12 - Color

11.1 Color Element

Note:

This section is not complete.

The next version of this specification will include a element called 'solidColor' that provides a paint server with a solid color fill at a specified opacity. This way, elements can reference a solid fill style in the same manner as used for the other paint servers, gradients and patterns.

11.2 Full Color Module

Elements Attributes Content Model
solidColor StdAttrs, StyleAttrs, ColorPresentationAttributes, solid-color, solid-opacity (DescriptionElements | AnimationElements)*
color-profile StdAttrs, XLinkRefAttrs, xlink:href, local, name, rendering-intent (DescriptionElements)*

11.2.1 Full Color Content Set

The Full Color Module defines the ColorElements content set.

Content Set Name Elements in Content Set
ColorElements solidColor, color-profile

11.2.2 Full Color Attribute Set

The Full Color Module defines the ColorPresentationAttrs attribute set.

Collection Name Attributes in Collection
ColorPresentationAttributes color, color-interpolation, color-rendering

11.3 Tiny Color Module

The Tiny Color Module defines identical elements to the Full Color Module. It also defines the same value for the ColorElements content set.

11.3.1 Tiny Color Attribute Set

The Tiny Color Module defines the ColorPresentationAttrs attribute set

Collection Name Attributes in Collection
ColorPresentationAttributes color

12 Gradients

For further details refer to [SVG 1.0] : Chapter 13 - Gradients and Patterns

12.1 Full Gradient Module

Elements Attributes Content Model
linearGradient StdAttrs, XLinkRefAttrs, xlink:href, ColorPresentationAttrs, GradientPresentationAttrs, StyleAttrs, ExternalResourcesRequiredAttrs, gradientUnits, gradientTransform, x1, y1, x2, y2, spreadMethod (DescriptionElements | AnimationElements | stop)*
radialGradient StdAttrs, XLinkRefAttrs, xlink:href, ColorPresentationAttrs, GradientPresentationAttrs, StyleAttrs, ExternalResourcesRequiredAttrs, gradientUnits, gradientTransform, cx, cy, r, fx, fy, spreadMethod (DescriptionElements | AnimationElements | stop)*
stop StdAttrs, StyleAttrs, ColorPresentationAttrs, GradientPresentationAttrs, offset (DescriptionElements | AnimationElements)*

12.1.1 Full Gradient Content Set

The Full Gradient Module defines the GradientElements content set.

Content Set Name Elements in Content Set
GradientElements linearGradient, radialGradient

12.1.2 Full Gradient Attribute Set

The Full Gradient Module defines the GradientPresentationAttrs attribute set.

Collection Name Attributes in Collection
GradientPresentationAttrs stop-color, stop-opacity

13 Patterns

For further details refer to [SVG 1.0] : Chapter 13 - Gradients and Patterns

13.1 Full Pattern Module

Elements Attributes Content Model
pattern StdAttrs,, XLinkRefAttrs, xlink:href, TestAttrs, ExternalResourcesRequiredAttrs, StyleAttrs, PresentationAttrsAll, viewBox, preserveAspectRatio, patternUnits, patternTransform, x, y, width, height (DescriptionElements | StructureElements | GraphicalElements | TextElements | ImageElements | HyperlinkingElements | ScriptElements | StyleElements | ClipElements | MaskElements | GradientElements | PatternElements | FilterElements | CursorElements | FontElements | ColorElements | AnimationElements)*

13.1.1 Full Pattern Content Set

The Full Pattern Module defines the PatternElements content set.

Content Set Name Elements in Content Set
PatternElements pattern

14 Clipping

For further details refer to [SVG 1.0] : Chapter 14 - Clipping, Masking and Compositing

14.1 Full Clip Module

Elements Attributes Content Model
clipPath StdAttrs, TestAttrs, ExternalResourcesRequiredAttrs, StyleAttrs, PaintPresentationAttrs, FontPresentationAttrs, TextContentPresentationAttrs, TextPresentationAttrs, OpacityPresentationAttrs, GraphicsPresentationAttrs, FilterPresentationAttrs, MaskPresentationAttrs, PointerEventsPresentationAttrs, ClipPresentationAttrs, transform, clipPathUnits (DescriptionElements | GraphicsElements | TextElements | UseElements | AnimationElements)*

14.1.1 Full Clip Content Set

The Full Clip Module defines the ClipElements content set.

Content Set Name Elements in Content Set
ClipElements clipPath

14.1.2 Full Clip Attribute Set

The Full Clip Module defines the ClipPresentationAttrs attribute set.

Collection Name Attributes in Collection
ClipPresentationAttrs clip-path, clip-rule

14.2 Basic Clip Module

Elements Attributes Content Model
clipPath StdAttrs, TestAttrs, ExternalResourcesRequiredAttrs, StyleAttrs, PaintPresentationAttrs, FontPresentationAttrs, TextContentPresentationAttrs, TextPresentationAttrs, OpacityPresentationAttrs, GraphicsPresentationAttrs, FilterPresentationAttrs, MaskPresentationAttrs, PointerEventsPresentationAttrs, ClipPresentationAttrs, transform, clipPathUnits (DescriptionElements* | GraphicsElements | TextElements | UseElements | AnimationElements)

14.2.1 Basic Clip Content Set

The Basic Clip Module defines the ClipElements content set.

Content Set Name Elements in Content Set
ClipElements clipPath

14.2.2 Basic Clip Attribute Set

The Basic Clip Module defines the ClipPresentationAttrs attribute set.

Collection Name Attributes in Collection
ClipPresentationAttrs clip-path, clip-rule

15 Masking

For further details refer to [SVG 1.0] : Chapter 14 - Clipping, Masking and Compositing

15.1 Full Mask Module

Elements Attributes Content Model
mask StdAttrs, TestAttrs, ExternalResourcesRequiredAttrs, StyleAttrs, PresentationAttrsAll, maskUnits, maskContentUnits, x, y, width, height (DescriptionElements | StructureElements | GraphicsElements | TextElements | ImageElements | ScriptElements | StyleElements | MarkerElements | ClipElements | MaskElements | GradientElements | PatternElements | FilterElements | CursorElements | FontElements | ColorElements | AnimationElements)*

15.1.1 Full Mask Content Set

The Full Mask Module defines the MaskElements content set.

Content Set Name Elements in Content Set
MaskElements mask

15.1.2 Full Mask Attribute Set

The Full Mask Module defines the MaskPresentationAttrs attribute set.

Collection Name Attributes in Collection
MaskPresentationAttrs mask

16 Markers

For further details refer to [SVG 1.0] : Chapter 11 - Painting: Filling, Stroking and Marker Symbols

16.1 Full Marker Module

Elements Attributes Content Model
marker StdAttrs, ExternalResourcesRequiredAttrs, StyleAttrs, PresentationAttrsAll, viewBox, preserveAspectRatio, refX, refY, markerUnits, markerWidth, markerHeight, orient (DescriptionElements | StructureElements | GraphicalElements | TextElements | ImageElements | ViewElements | ConditionalElements | HyperlinkingElements | ScriptElements | ClipElements | MaskElements | GradientElements | PatternElements | FilterElements | CursorElements | FontElements | ColorElements | AnimationElements)*

16.1.1 Full Marker Content Set

The Full Marker Module defines the MarkerElements content set.

Content Set Name Elements in Content Set
MarkerElements marker

16.1.2 Full Marker Attribute Set

The Full Marker Module defines the MarkerPresentationAttrs attribute set.

Collection Name Attributes in Collection
MarkerPresentationAttrs marker-start, marker-mid, marker-end

17 Fonts

For further details refer to [SVG 1.0] : Chapter 20 - Fonts

17.1 Full Font Module

Elements Attributes Content Model
font StdAttrs, ExternalResourcesRequiredAttrs, StyleAttrs, PresentationAttrsAll, horiz-origin-x, horiz-origin-y, horiz-adv-x, vert-adv-y, vert-origin-x, vert-origin-y (DescriptionElements, font-face, missing-glyph, (glyph | hkern | vkern)*)
font-face StdAttrs, font-family, font-style, font-variant, font-weight, font-stretch, font-size, unicode-range, units-per-em, panose-1, stemv, stemh, slope, cap-height, x-height, accent-height, ascent, descent, widths, bbox, ideographic, alphabetic, mathematical, hanging, v-ideographic, v-alphabetic, v-mathematical, v-hanging, underline-position, underline-thickness, strikethrough-position, strikethrough-thickness, overline-position, overline-thickness (DescriptionElements, font-face-src?, definition-src?)
glyph StdAttrs, StyleAttrs, PresentationAttrsAll, unicode, glyph-name, d, orientation, arabic-form, lang, horiz-adv-x, vert-adv-y, vert-origin-x, vert-origin-y (DescriptionElements | StructureElements | GraphicalElements | TextElements | ImageElements | ViewElements | ConditionalElements | HyperlinkingElements | StyleElements | MarkerElements | ClipElements | MaskElements | GradientElements | PatternElements | ColorElements | FilterElements | CursorElements | FontElements | AnimationElements)*
missing-glyph StdAttrs, StyleAttrs, PresentationAttrsAll, d, orientation, arabic-form, lang, horiz-adv-x, vert-adv-y, vert-origin-x, vert-origin-y (DescriptionElements | StructureElements | GraphicalElements | TextElements | ImageElements | ViewElements | ConditionalElements | HyperlinkingElements | StyleElements | MarkerElements | ClipElements | MaskElements | GradientElements | PatternElements | ColorElements | FilterElements | CursorElements | FontElements | AnimationElements)*
hkern StdAttrs, g1, g2, u1, u2, k EMPTY
vkern StdAttrs, g1, g2, u1, u2, k EMPTY
font-face-src StdAttrs (font-face-uri|font-face-name)+
font-face-uri StdAttrs, XLinkRefAttrs, xlink:href font-face-format*
font-face-format StdAttrs, string EMPTY
font-face-name StdAttrs, name EMPTY
defintion-src StdAttrs, XLinkRefAttrs, xlink:href EMPTY

17.1.1 Full Font Content Set

The Full Font Module defines the FontElements content set.

Content Set Name Elements in Content Set
FontElements font

17.2 Tiny Font Module

Elements Attributes Content Model
font StdAttrs, ExternalResourcesRequiredAttrs, StyleAttrs, PresentationAttrsAll, horiz-origin-x, horiz-origin-y, horiz-adv-x, vert-adv-y, vert-origin-x, vert-origin-y (DescriptionElements, font-face, missing-glyph, (glyph | hkern | vkern)*)
font-face StdAttrs, font-family, font-style, font-variant, font-weight, font-stretch, font-size, unicode-range, units-per-em, panose-1, stemv, stemh, slope, cap-height, x-height, accent-height, ascent, descent, widths, bbox, ideographic, alphabetic, mathematical, hanging, v-ideographic, v-alphabetic, v-mathematical, v-hanging, underline-position, underline-thickness, strikethrough-position, strikethrough-thickness, overline-position, overline-thickness (DescriptionElements, font-face-src?)
glyph StdAttrs, StyleAttrs, PresentationAttrsAll, unicode, glyph-name, d, orientation, arabic-form, lang, horiz-adv-x, vert-adv-y, vert-origin-x, vert-origin-y (DescriptionElements)
missing-glyph StdAttrs, StyleAttrs, PresentationAttrsAll, d, orientation, arabic-form, lang, horiz-adv-x, vert-adv-y, vert-origin-x, vert-origin-y (DescriptionElements)
hkern StdAttrs, g1, g2, u1, u2, k EMPTY
vkern StdAttrs, g1, g2, u1, u2, k EMPTY
font-face-src StdAttrs (font-face-name)+
font-face-name StdAttrs, name EMPTY

17.2.1 Tiny Font Content Set

The Tiny Font Module defines the FontElements content set.

Content Set Name Elements in Content Set
FontElements font

18 Interactivity

For further details refer to [SVG 1.0] : Chapter 16 - Interactivity

18.1 Full Document Events Attribute Module

The Full Document Events Attribute Module defines the DocumentEventsAttrs attribute set.

Collection Name Attributes in Collection
DocumentEventsAttrs onunload, onabort, onerror, onresize, onscroll, onzoom

18.2 Full Graphical Element Events Attribute Module

The Full Graphical Element Events Attribute Module defines the GraphicalElementEventsAttrs attribute set.

Collection Name Attributes in Collection
GraphicalElementEventsAttrs onfocusin, onfocusout, onactivate, onclick, onmousedown, onmouseup, onmouseover, onmousemove, onmouseout, onload

18.3 Full Animation Events Attribute Module

The Full Animation Events Attribute Module defines the AnimEventsAttrs attribute set.

Collection Name Attributes in Collection
AnimEventsAttrs onbegin, onend, onrepeat

19 Scripting

For further details refer to [SVG 1.0] : Chapter 18 - Scripting

19.1 Full Scripting Module

Elements Attributes Content Model
script StdAttrs, XLinkRefAttrs, xlink:href, type #PCDATA

19.1.1 Full Scripting Content Set

The Full Scripting Module defines the ScriptElements content set.

Content Set Name Elements in Content Set
ScriptElements script

20 Cursors

For further details refer to [SVG 1.0] : Chapter 16 - Interactivity

20.1 Full Cursor Module

Elements Attributes Content Model
cursor StdAttrs, xlinkRefAtts, xlink:href, TestAttrs, ExternalResourcesRequiredAttrs, x, y (DescriptionElements)

20.1.1 Full Cursor Content Set

The Full Cursor Module defines the CursorElements content set.

Content Set Name Elements in Content Set
CursorElements cursor

20.1.2 Full Cursor Attribute Set

The Full Cursor Module defines the CursorPresentationAttrs attribute set.

Collection Name Attributes in Collection
CursorPresentationAttrs cursor

21 Views

For further details refer to [SVG 1.0] : Chapter 16 - Interactivity

21.1 Full View Module

Elements Attributes Content Model
view StdAttrs, ExternalResourcesRequiredAttrs, viewBox, preserveAspectRatio, zoomAndPan, viewTarget (DescriptionElements)

21.1.1 Full View Content Set

The Full View Module defines the ViewElements content set.

Content Set Name Elements in Content Set
ViewElements view

22 Filters

For further details refer to [SVG 1.0] : Chapter 15 - Filters

22.1 Full Filter Module

Elements Attributes Content Model
filter StdAttrs, XLinkRefAttrs, xlink:href, ExternalResourcesRequiredAttrs, StyleAttrs, PresentationAttrsAll, filterUnits, primitiveUnits, x, y, width, height, filterRes (DescriptionElements | FilterPrimitiveElements | AnimationElements)*
feBlend StdAttrs, FilterPrimitivePresentationAttrs, FilterPrimitiveWithInAttrs, in2, mode (AnimationElements)*
feColorMatrix StdAttrs, FilterPrimitivePresentationAttrs, FilterPrimitiveWithInAttrs, type, values (AnimationElements)*
feComponentTransfer StdAttrs, FilterPrimitivePresentationAttrs, FilterPrimitiveWithInAttrs (feFuncR?, feFuncG?, feFuncB?, feFuncA?)
feComposite StdAttrs, FilterPrimitivePresentationAttrs, FilterPrimitiveWithInAttrs, in2, operator, k1, k2, k3, k4 (AnimationElements)*
feConvolveMatrix StdAttrs, FilterPrimitivePresentationAttrs, FilterPrimitiveWithInAttrs, order, kernelMatrix, divisor, bias, targetX, targetY, edgeMode, kernelUnitLength, preserveAlpha (AnimationElements)*
feDiffuseLighting StdAttrs, FilterPrimitivePresentationAttrs, FilterPrimitiveWithInAttrs, StyleAttrs, ColorPresentationAttrs, lighting-color, surfaceScale, diffuseConstant, kernelUnitLength ((feDistantLight | fePointLight | feSpotLight), (AnimationElements)*)
feDisplacementMap StdAttrs, FilterPrimitivePresentationAttrs, FilterPrimitiveWithInAttrs, in2, scale, xChannelSelector, yChannelSelector (AnimationElements)*
feFlood StdAttrs, FilterPrimitivePresentationAttrs, FilterPrimitiveWithInAttrs, StyleAttrs, ColorPresentationAttrs, flood-color, flood-opacity (AnimationElements)*
feGaussianBlur StdAttrs, FilterPrimitivePresentationAttrs, FilterPrimitiveWithInAttrs, stdDeviation (AnimationElements)*
feImage StdAttrs, XLinkRefAttrs, xlink:href, FilterPrimitivePresentationAttrs, FilterPrimitiveAttrs, ExternalResourcesRequiredAttrs, StyleAttrs, PresentationAttrsAll (AnimationElements)*
feMerge StdAttrs, in (AnimationElements)*
feMergeNode StdAttrs, FilterPrimitivePresentationAttrs, FilterPrimitiveAttrs (feMergeNode)*
feMorphology StdAttrs, FilterPrimitivePresentationAttrs, FilterPrimitiveWithInAttrs, operator, radius (AnimationElements)*
feOffset StdAttrs, FilterPrimitivePresentationAttrs, FilterPrimitiveWithInAttrs, dx, dy (AnimationElements)*
feSpecularLighting StdAttrs, FilterPrimitivePresentationAttrs, FilterPrimitiveWithInAttrs, StyleAttrs, ColorPresentationAttrs, lighting-color, surfaceScale, specularConstant, specularExponent, kernelUnitLength ((feDistantLight | fePointLight | feSpotLight), (AnimationElements)*)
feTile StdAttrs, FilterPrimitivePresentationAttrs, FilterPrimitiveWithInAttrs (AnimationElements)*
feTurbulence StdAttrs, FilterPrimitivePresentationAttrs, FilterPrimitiveAttrs, baseFrequency, numOctaves, seed, stitchTiles, type (AnimationElements)*
feDistantLight StdAttrs, azimuth, elevation (AnimationElements)*
fePointLight StdAttrs, x, y, z (AnimationElements)*
feSpotLight StdAttrs, x, y, z, pointsAtX, pointsAtY, pointsAtZ, specularExponent, limitingConeAngle (AnimationElements)*
feFuncR StdAttrs, type, tableValues, slope, intercept, amplitude, exponent, offset (AnimationElements)*
feFuncG StdAttrs, type, tableValues, slope, intercept, amplitude, exponent, offset (AnimationElements)*
feFuncB StdAttrs, type, tableValues, slope, intercept, amplitude, exponent, offset (AnimationElements)*
feFuncA StdAttrs, type, tableValues, slope, intercept, amplitude, exponent, offset (AnimationElements)*

22.1.1 Full Filter Content Sets

The Full Filter Module defines the FilterElements and FilterPrimitiveElements content sets.

Content Set Name Elements in Content Set
FilterElements filter
FilterPrimitiveElements feBlend, feFlood, feColorMatrix, feComponentTransfer, feComposite, feConvolveMatrix, feDiffuseLighting, feDisplacementMap, feGaussianBlur, feImage, feMerge, feMorphology, feOffset, feSpecularLighting, feTile, feTurbulence

22.1.2 Full Filter Attribute Sets

The Full Filter Module defines the FilterPresentationAttrs, FilterPrimitivePresentationAttrs, FilterPrimitiveAttrs and FilterPrimitiveWithInAttrs attribute sets.

Collection Name Attributes in Collection
FilterPresentationAttrs filter
FilterPrimitivePresentationAttrs color-interpolation-filters
FilterPrimitiveAttrs x, y, width, height, result
FilterPrimitiveWithInAttrs FilterPrimitiveAttrs, in

22.2 Basic Filter Module

Elements Attributes Content Model
filter StdAttrs, XLinkRefAttrs, xlink:href, ExternalResourcesRequiredAttrs, StyleAttrs, PresentationAttrsAll, filterUnits, primitiveUnits, x, y, width, height, filterRes (DescriptionElements | FilterPrimitiveElements | AnimationElements)*
feBlend StdAttrs, FilterPrimitivePresentationAttrs, FilterPrimitiveWithInAttrs, in2, mode (AnimationElements)*
feColorMatrix StdAttrs, FilterPrimitivePresentationAttrs, FilterPrimitiveWithInAttrs, type, values (AnimationElements)*
feComponentTransfer StdAttrs, FilterPrimitivePresentationAttrs, FilterPrimitiveWithInAttrs (feFuncR?, feFuncG?, feFuncB?, feFuncA?)
feComposite StdAttrs, FilterPrimitivePresentationAttrs, FilterPrimitiveWithInAttrs, in2, operator, k1, k2, k3, k4 (AnimationElements)*
feFlood StdAttrs, FilterPrimitivePresentationAttrs, FilterPrimitiveWithInAttrs, StyleAttrs, ColorPresentationAttrs, flood-color, flood-opacity (AnimationElements)*
feGaussianBlur StdAttrs, FilterPrimitivePresentationAttrs, FilterPrimitiveWithInAttrs, stdDeviation (AnimationElements)*
feImage StdAttrs, XLinkRefAttrs, xlink:href, FilterPrimitivePresentationAttrs, FilterPrimitiveAttrs, ExternalResourcesRequiredAttrs, StyleAttrs, PresentationAttrsAll (AnimationElements)*
feMerge StdAttrs, in (AnimationElements)*
feMergeNode StdAttrs, FilterPrimitivePresentationAttrs, FilterPrimitiveAttrs (feMergeNode)*
feOffset StdAttrs, FilterPrimitivePresentationAttrs, FilterPrimitiveWithInAttrs, dx, dy (AnimationElements)*
feTile StdAttrs, FilterPrimitivePresentationAttrs, FilterPrimitiveWithInAttrs (AnimationElements)*
feFuncR StdAttrs, type, tableValues, slope, intercept, amplitude, exponent, offset (AnimationElements)*
feFuncG StdAttrs, type, tableValues, slope, intercept, amplitude, exponent, offset (AnimationElements)*
feFuncB StdAttrs, type, tableValues, slope, intercept, amplitude, exponent, offset (AnimationElements)*
feFuncA StdAttrs, type, tableValues, slope, intercept, amplitude, exponent, offset (AnimationElements)*

22.2.1 Basic Filter Content Sets

The Basic Filter Module defines the FilterElements and FilterPrimitiveElements content sets.

Content Set Name Elements in Content Set
FilterElements filter
FilterPrimitiveElements feBlend, feFlood, feColorMatrix, feComponentTransfer, feComposite, feGaussianBlur, feImage, feMerge, feOffset, feTile

22.2.2 Basic Filter Attribute Sets

The Basic Filter Module defines the FilterPresentationAttrs, FilterPrimitivePresentationAttrs, FilterPrimitiveAttrs and FilterPrimitiveWithInAttrs attribute sets.

Collection Name Attributes in Collection
FilterPresentationAttrs filter
FilterPrimitivePresentationAttrs color-interpolation-filters
FilterPrimitiveAttrs x, y, width, height, result
FilterPrimitiveWithInAttrs FilterPrimitiveAttrs, in

23 Animation

For further details refer to [SVG 1.0] : Chapter 19 - Animation

23.1 Full Animation Module

Elements Attributes Content Model
animate StdAttrs, TestAttrs, ExternalResourcesRequiredAttrs, AnimEventAttrs, AnimElementAttrs, AnimAttributeAttrs, AnimTimingAttrs, AnimValueAttrs, AnimAdditionAttrs (DescriptionElements)
set StdAttrs, TestAttrs, ExternalResourcesRequiredAttrs, AnimEventAttrs, AnimElementAttrs, AnimAttributeAttrs, AnimTimingAttrs, to (DescriptionElements)
animateMotion StdAttrs, TestAttrs, ExternalResourcesRequiredAttrs, AnimEventAttrs, AnimElementAttrs, AnimTimingAttrs, AnimAdditionAttrs, AnimValueAttrs, path, keyPoints, rotate, origin (DescriptionElements | mpath)
animateTransform StdAttrs, TestAttrs, ExternalResourcesRequiredAttrs, AnimEventAttrs, AnimElementAttrs, AnimAttributeAttrs, AnimTimingAttrs, AnimValueAttrs, AnimAdditionAttrs, type (DescriptionElements)
animateColor StdAttrs, TestAttrs, ExternalResourcesRequiredAttrs, AnimEventAttrs, AnimElementAttrs, AnimAttributeAttrs, AnimTimingAttrs, AnimValueAttrs, AnimAdditionAttrs (DescriptionElements)
mpath StdAttrs, XLinkRefAttrs, xlink:href, ExternalResourcesRequiredAttrs (DescriptionElements)

23.1.1 Full Animation Content Set

The Full Animation Module defines the AnimationElements content set.

Content Set Name Elements in Content Set
AnimationElements animate, animateColor, animateTransform, animateMotion, set

23.1.2 Full Animation Attribute Sets

The Full Animation Module defines the AnimElementAttrs, AnimAttributeAttrs, AnimTimingAttrs, AnimValueAttrs and AnimAdditionAttrs attribute sets.

Collection Name Attributes in Collection
AnimElementAttrs XLinkRefAttrs, xlink:href
AnimAttributeAttrs attributeName, attributeType
AnimTimingAttrs begin, dur, end, min, max, restart, repeatCount, repeatDur, fill
AnimValueAttrs calcMode, values, keyTimes, keySplines, from, to, by
AnimAdditionAttrs additive, accumulate

24 Extensibility

For further details refer to [SVG 1.0] : Chapter 23 - Extensibility

24.1 Full Extensibility Module

Elements Attributes Content Model
foreignObject StdAttrs, TestAttrs, ExternalResourcesRequiredAttrs, StyleAttrs, PresentationAttrsAll, GraphicsElementEventAttrs, transform, x, y, width, height, content #PCDATA

24.1.1 Full Extensibility Content Set

The Full Extensibility Module defines the ExtensibilityElements content set.

Content Set Name Elements in Content Set
ExtensibilityElements foreignObject

A XML Schema

Note:

This schema is still in development and is being tested. The SVG Working Group welcomes feedback on this topic.

The XML Schema for SVG 1.1 is available at:

http://www.w3.org/TR/2002/WD-SVG11-20020108/SVG.xsd

The schema references the following files:

http://www.w3.org/TR/2002/WD-SVG11-20020108/xml.xsd and http://www.w3.org/TR/2002/WD-SVG11-20020108/xlink.xsd

B DTD

The next draft of this document will contain a non-normative DTD for SVG 1.1.

C References

OpenGIS Coordinate Systems
Recommended Definition Data for Coordinate Reference Systems and Coordinate Transformations Version 1.0.1. OpenGIS Recommendation (See http://www.opengis.org/techno/specs/01-014r3.pdf.)
SVG 1.0
Jon Ferraiolo, editor. Scalable Vector Graphics (SVG) 1.0 Specification. World Wide Web Consortium, 2001. (See http://www.w3.org/TR/2001/REC-SVG-20010904/.)
XML
Tim Bray, Jean Paoli, C.M. Sperberg-McQueen, and Eve Maler, editors. Extensible Markup Language (XML) 1.0 (Second Edition). World Wide Web Consortium, 2000. (See http://www.w3.org/TR/REC-xml.)
XHTML-Mod
Murray Altheim, Frank Boumphrey, Sam Dooley, Shane McCarron, Sebastian Schnitzenbaumer, and Ted Wugofski, editors. Modularization of XHTML. World Wide Web Consortium, 2001. (See http://www.w3.org/TR/xhtml-modularization/.)

D Author List

The authors of this specification are the members of the W3C SVG Working Group:

The SVG Working Group wish to acknowledge the many people outside the Working Group who help with the process of developing a specification. These people are too numerous to list individually. They include, but are not limited to, the implementors of SVG tools (viewers, transcoders and authoring tools), developers of SVG content, people who have contributed on the www-svg@w3.org and svg-developers@yahoogroups.com email lists, other Working Groups at the W3C, and the W3C team.