Changes from SVG 1.1 — SVG 2

Appendix K: Changes from SVG 1.1

This appendix is informative, not normative.

This appendix summarizes the changes that have been made since the SVG 1.1 Second Edition Recommendation. Changes made since the initial SVG 2 Candidate Recommendation are highlighted.

K.1. Editorial changes

A number of stylistic changes have been made to the specification to make it more readable. These include the following:

  • Tidied up the changes list, adding missing changes, and adding links to issue discussion for changes since the initial Candidate Recommendation. Edits
  • Consistently use the term "user coordinate system" (previously, the synonymous term "local coordinate system" was also used). Issue discussion Edits

K.2. Substantial changes

In additional to the editorial changes listed above, the following substantial additions, changes and removals have been made.

K.2.1. Across the whole document

K.2.2. Concepts chapter (SVG 1.1 only)

K.2.3. Conformance Criteria chapter (Appendix in SVG 1.1)

K.2.4. Rendering Model chapter

K.2.5. Basic Data Types and Interfaces chapter

K.2.6. Document Structure chapter

K.2.7. Styling chapter

  • Add a user-agent stylesheet requirement for a pointer cursor on links, consistent with HTML and CSS. Issue discussion Edits

K.2.8. Geometry Properties chapter (SVG 2 only)

K.2.9. Coordinate Systems, Transformations and Units chapter

K.2.10. Paths chapter

  • Clarified that percentage distances are not affected by zero pathLength. Issue discussion Edits
  • Reorganized the Implementation Notes section into logical subsections (including the section on out-of-bounds arc parameters, which was formerly in the Implementation Notes appendix). Edits

K.2.11. Basic Shapes chapter

K.2.12. Text chapter

  • Clarify the initial value for textLength, and add note about its impact on the reflected IDL attribute.

K.2.13. Embedded Content chapter (SVG 2 only)

K.2.14. Painting chapter

K.2.15. Color chapter (SVG 1.1 only)

K.2.16. Paint Servers chapter (called Gradients and Patterns in SVG 1.1)

K.2.17. Clipping, Masking and Compositing chapter (SVG 1.1 only)

K.2.18. Filter Effects chapter (SVG 1.1 only)

K.2.19. Scripting and Interactivity chapter (separate chapters in SVG 1.1)

K.2.20. Linking chapter

  • Harmonized attributes and IDL properties on a element with HTML, other than href and target (which are maintained as-is for legacy reasons). Specifically:
    • Added the ping and referrerpolicy attributes and their matching IDL properties.
    • Added the text IDL property.
    • Specified the meaning of a non-empty value for download.
    • Made all attributes except href and target non-animatable, with a simple read/write DOMString representation in the IDL.
    Issue discussion Edits

K.2.21. Scripting chapter (in SVG 1.1)

K.2.22. Animation chapter (SVG 1.1 only)

K.2.23. Fonts chapter (SVG 1.1 only)

K.2.24. Metadata chapter (SVG 1.1 only)

K.2.25. Backwards Compatibility chapter (SVG 1.1 only)

K.2.26. Extensibility chapter (SVG 1.1 only)

K.2.27. Document Type Definition appendix (SVG 1.1 only)

K.2.28. SVG Document Object Model (DOM)(SVG 1.1 Only)

  • Dependencies on other DOM specifications updated as follows:
    • Make DOM 4 a minimum requirement, with DOM living standard a "should".
    • Remove requirement for support of obsolete DOM View spec.
    • Update the requirement on DOM Level 2 Style to only include interfaces also defined in CSSOM, with full support for CSSOM as a "should". (And remove the "Relationship with DOM Level 2 CSS" section.)
    • Add Geometry Interfaces Module Level 1 as a requirement.
    • Add Clipboard API and events as a normative requirement, complementary to the UI Events requirement.
  • Clarify that SVG DOM requirements extend to elements defined in other specifications.
  • Add a requirement for handling unknown elements in the SVG namespace: "must" handle as browsers currently do (as SVGElement instances); "should" implement SVGUnknownElement interface (though that is at risk).
  • Remove the special rule for initializing textLength, in favor of a clearer definition of the attribute's dynamic initial value.
  • Clarify that rules about initializing objects only apply when reflecting (none) initial values, and also apply to interfaces defined in other specifications (e.g., Geometry).
  • Update section "Relationship with UI Events" to reflect that most event handler attributes are available on all elements, that clipboard API events are available. Wording is updated to clarify normative requirements on software.
  • Merge the entire content of this appendix into the Basic Data Types chapter, except for the section "Relationship with UI Events", which is merged into the Interactivity chapter.

Issue discussion Edits

K.2.29. IDL Definitions appendix

K.2.30. Java Language Binding appendix (SVG 1.1 only)

K.2.31. ECMAScript Language Binding appendix (SVG 1.1 only)

K.2.32. Implementation Notes appendix (was Implementation Requirements in SVG 1.1)

  • Moved normative sections into chapters, and renamed appendix to Implementation Notes:
    • Error Processing is now in Conformance Criteria.
    • Clamping Values is now in Data Types and Interfaces, and sections re colors and opacity have been removed (clamping behavior of these properties is defined in CSS Color).
    • The normative parts of the Elliptical Arc Implementation Notes are now in the Paths chapter, with other implementation requirements for paths
    • Text selection implementation notes is now in Text, with the main section on Text Selection.
    • Printing Implementation Notes is now in Conformance Criteria.
    Issue discussion Edits

K.2.33. Accessibility Support appendix

K.2.34. Internationalization Support appendix (SVG 1.1 only)

K.2.35. Minimizing SVG File Sizes appendix (SVG 1.1 only)

K.2.36. Animating SVG Documents appendix (SVG 2 only)

K.2.37. References appendix

  • Removed normative reference to DOM Level 2 Views.
  • Added normative reference to Geometry Interfaces.
  • Added normative reference to CSSOM.
  • Added normative reference to Clipboard API and events.

K.2.38. Elmenent, Attribute, and Property index appendices

K.2.39. IDL Index appendix (SVG 2 only)

K.2.40. Feature Strings (SVG 1.1 only)