Scalable Vector Graphics (SVG) 1.1 (Second Edition)

W3C Working Draft 22 June 2010

This version:
Latest version:
Previous version:
Erik Dahlström, Opera Software <ed@opera.com>
Jon Ferraiolo, Adobe Systems <jon.ferraiolo@adobe.com> (Versions 1.0 and 1.1 First Edition; until 8 June 2006)
藤沢 淳 (FUJISAWA Jun), Canon Inc. <fujisawa.jun@canon.co.jp> (Version 1.1 First Edition)
Anthony Grasso, Canon Inc. <anthony.grasso@cisra.canon.com.au>
Dean Jackson, W3C <dean@w3.org> (Version 1.1 First Edition; until February 2007)
Chris Lilley, W3C <chris@w3.org>
Cameron McCormack, Invited Expert <cam@mcc.id.au>
Doug Schepers, W3C <schepers@w3.org>
Jonathan Watt, Mozilla Corporation <jwatt@jwatt.org>
Patrick Dengler, Microsoft Corporation <patd@microsoft.com>

Please refer to the errata for this document, which may include some normative corrections.

See also translations, noting that the English version of this specification is the only normative version.


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 section describes the status of this document at the time of its publication. Other documents may supersede this document. A list of current W3C publications and the latest revision of this technical report can be found in the W3C technical reports index at http://www.w3.org/TR/.

This document is the 22 June 2010 Working Draft of the SVG 1.1 Second Edition specification. The Second Edition incorporates a number of corrections that were published as errata against the First Edition, as well as numerous other changes that help make the specification more readable and unambiguous. The Changes appendix lists all of the changes that were made from the First Edition.

Public comments on this Last Call specification are welcome. This Last Call ends on 13 July 2010. Please send them to www-svg@w3.org: the public email list for issues related to vector graphics on the Web. This list is archived and senders must agree to have their message publicly archived from their first posting. To subscribe send an email to www-svg-request@w3.org with the word subscribe in the subject line.

The W3C SVG Working Group have released an expanded test suite for SVG 1.1 along with an implementation report for the subset of tests which are affected by errata items.

This document has been produced by the W3C SVG Working Group as part of the Graphics Activity within the W3C Interaction Domain. The goals of the W3C SVG Working Group are discussed in the W3C SVG Charter. The W3C SVG Working Group maintains a public Web page, http://www.w3.org/Graphics/SVG/, that contains further background information. The authors of this document are the SVG Working Group participants.

This document was produced by a group operating under the 5 February 2004 W3C Patent Policy. W3C maintains a public list of any patent disclosures made in connection with the deliverables of the group; that page also includes instructions for disclosing a patent. An individual who has actual knowledge of a patent which the individual believes contains Essential Claim(s) must disclose the information in accordance with section 6 of the W3C Patent Policy.

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.

Publication as a Working Draft does not imply endorsement by the W3C Membership. This is a draft document and may be updated, replaced or obsoleted by other documents at any time. It is inappropriate to cite this document as other than work in progress.

Available languages

The English version of this specification is the only normative version. However, for translations in other languages see http://www.w3.org/Graphics/SVG/svg-updates/translations.html.

Table of Contents

  1. 1 Introduction
  2. 2 Concepts
  3. 3 Rendering Model
  4. 4 Basic Data Types and Interfaces
  5. 5 Document Structure
  6. 6 Styling
  7. 7 Coordinate Systems, Transformations and Units
  8. 8 Paths
  9. 9 Basic Shapes
  10. 10 Text
  11. 11 Painting: Filling, Stroking and Marker Symbols
  12. 12 Color
  13. 13 Gradients and Patterns
  14. 14 Clipping, Masking and Compositing
  15. 15 Filter Effects
  16. 16 Interactivity
  17. 17 Linking
  18. 18 Scripting
  19. 19 Animation
  20. 20 Fonts
  21. 21 Metadata
  22. 22 Backwards Compatibility
  23. 23 Extensibility
  1. Appendix A: Document Type Definition
  2. Appendix B: SVG Document Object Model (DOM)
  3. Appendix C: IDL Definitions
  4. Appendix D: Java Language Binding
  5. Appendix E: ECMAScript Language Binding
  6. Appendix F: Implementation Requirements
  7. Appendix G: Conformance Criteria
  8. Appendix H: Accessibility Support
  9. Appendix I: Internationalization Support
  10. Appendix J: Minimizing SVG File Sizes
  11. Appendix K: References
  12. Appendix L: Element Index
  13. Appendix M: Attribute Index
  14. Appendix N: Property Index
  15. Appendix O: Feature Strings
  16. Appendix P: Media Type Registration for image/svg+xml
  17. Appendix Q: Changes


The SVG Working Group would like to thank the following people for contributing to this specification by raising issues that resulted in errata that were folded in to this document: Brian Birtles, Tolga Capin, Thomas DeWeese, Alexey Feldgendler, Vincent Hardy, Ian Hickson, Olaf Hoffman, Oliver Hunt, Anne van Kesteren, Robert Longson, Robert O'Callahan, Olli Pettay, Antoine Quint, Kalle Raita, Tim Rowley, Peter Sorotokin, Boris Zbarsky.

In addition, the SVG Working Group would like to acknowledge the contributions of the editors and authors of SVG 1.0 and SVG 1.1 (First Edition), as much of the text in this document derives from these earlier versions of the SVG specification.

Finally, the SVG Working Group would like to acknowledge the great many people outside of the SVG Working Group who help with the process of developing the SVG specifications. These people are too numerous to list individually. They include but are not limited to the early implementers of the SVG 1.0 and 1.1 languages (including viewers, authoring tools, and server-side transcoders), 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. SVG 1.1 is truly a cooperative effort between the SVG Working Group, the rest of the W3C, and the public and benefits greatly from the pioneering work of early implementers and content developers, feedback from the public, and help from the W3C team.

SVG 1.1 (Second Edition) – 22 June 2010