W3C

Scalable Vector Graphics (SVG) 1.1 (Second Edition)

W3C Working Draft 22 June 2010

This version:
http://www.w3.org/TR/2010/WD-SVG11-20100622/
Latest version:
http://www.w3.org/TR/SVG11/
Previous version:
http://www.w3.org/TR/2003/REC-SVG11-20030114/
Editors:
Erik Dahlström, Opera Software <[email protected]>
Jon Ferraiolo, Adobe Systems <[email protected]> (Versions 1.0 and 1.1 First Edition; until 8 June 2006)
藤沢 淳 (FUJISAWA Jun), Canon Inc. <[email protected]> (Version 1.1 First Edition)
Anthony Grasso, Canon Inc. <[email protected]>
Dean Jackson, W3C <[email protected]> (Version 1.1 First Edition; until February 2007)
Chris Lilley, W3C <[email protected]>
Cameron McCormack, Invited Expert <[email protected]>
Doug Schepers, W3C <[email protected]>
Jonathan Watt, Mozilla Corporation <[email protected]>
Patrick Dengler, Microsoft Corporation <[email protected]>

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.


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 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 [email protected]: 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 [email protected] 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

Acknowledgments

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 [email protected] and [email protected] 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